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