commit 3ad9b0d9fa61b520eafdc9862542bf28f277523a (tree)
parent e047558beec1f45116033f040114f1033d4dd981
Author: Tim Pope <code@tpope.net>
Date: Fri, 22 Apr 2011 12:59:03 -0400
Don't clobber alternate file when committing
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -732,7 +732,7 @@ function! s:Commit(args) abort
if bufname('%') == '' && line('$') == 1 && getline(1) == '' && !&mod
edit `=msgfile`
else
- split `=msgfile`
+ keepalt split `=msgfile`
endif
if old_type ==# 'index'
bdelete #