mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 13:23:52 -05:00
Fix false positive "unknown Git error"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user