From 3ad9b0d9fa61b520eafdc9862542bf28f277523a Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 22 Apr 2011 12:59:03 -0400 Subject: [PATCH] Don't clobber alternate file when committing --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index b27a06c..01c443c 100644 --- 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 #