commit a32c301f516cf64e5a8e28ad106923e8cee5cda3 (tree)
parent 261c00986ded3d3df9dc2c4910c2083a9b33eb9c
Author: Tim Pope <code@tpope.net>
Date: Tue, 25 Dec 2018 19:36:26 -0500
Remove :Gcommit claiming :Gstatus window
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -2233,10 +2233,6 @@ function! s:Commit(mods, args, ...) abort
execute mods 'keepalt edit' s:fnameescape(msgfile)
elseif a:args =~# '\%(^\| \)-\w*v' || mods =~# '\<tab\>'
execute mods 'keepalt -tabedit' s:fnameescape(msgfile)
- elseif get(b:, 'fugitive_type', '') ==# 'index'
- execute mods 'keepalt edit' s:fnameescape(msgfile)
- execute (search('^#','n')+1).'wincmd+'
- setlocal nopreviewwindow
else
execute mods 'keepalt split' s:fnameescape(msgfile)
endif