motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit e7be4e4af94418c16d87fb59328c01bbc723be78 (tree)
parent c7a93960c7ffe1f5862385dfaf50c9cbf8edac94
Author: Tim Pope <code@tpope.net>
Date:   Sun, 22 Aug 2021 00:20:47 -0400

Fix false positive "unknown Git error"

Diffstat:
Mautoload/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -787,7 +787,7 @@ endfunction function! s:ChompStderr(...) abort let r = call('fugitive#Execute', a:000) - return !r.exit_status ? '' ? len(r.stderr) > 1 : s:JoinChomp(r.stderr) : 'unknown Git error' + return !r.exit_status ? '' : len(r.stderr) > 1 ? s:JoinChomp(r.stderr) : 'unknown Git error' . string(r) endfunction function! s:ChompDefault(default, ...) abort