mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-15 14:53:51 -05:00
Throw joined errors if error is empty on commit
Fixes tpope/vim-fugitive#907
This commit is contained in:
@@ -1121,7 +1121,7 @@ function! s:Commit(args, ...) abort
|
||||
elseif error ==# '!'
|
||||
return s:Status()
|
||||
else
|
||||
call s:throw(error)
|
||||
call s:throw(empty(error)?join(errors, ' '):error)
|
||||
endif
|
||||
endif
|
||||
catch /^fugitive:/
|
||||
|
||||
Reference in New Issue
Block a user