mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 05:43:52 -05:00
Fix :Gcommit invocation of :Gstatus
Closes https://github.com/tpope/vim-fugitive/issues/1034
This commit is contained in:
@@ -1207,7 +1207,7 @@ function! s:Commit(mods, args, ...) abort
|
|||||||
setlocal bufhidden=wipe filetype=gitcommit
|
setlocal bufhidden=wipe filetype=gitcommit
|
||||||
return '1'
|
return '1'
|
||||||
elseif error ==# '!'
|
elseif error ==# '!'
|
||||||
return s:Status()
|
return 'Gstatus'
|
||||||
else
|
else
|
||||||
call s:throw(empty(error)?join(errors, ' '):error)
|
call s:throw(empty(error)?join(errors, ' '):error)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user