From 45e53172007efb4e9ec20aafef5a03fed6a9ab61 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 5 Jul 2014 18:58:18 -0400 Subject: [PATCH] Try harder to avoid -esp on :Gcommit follow-up Closes #516. --- plugin/fugitive.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 7232066..b60f206 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1007,9 +1007,10 @@ function! s:Commit(args, ...) abort let error = get(errors,-2,get(errors,-1,'!')) if error =~# 'false''\=\.$' let args = a:args - let args = s:gsub(args,'%(%(^| )-- )@' let args = '--cleanup=strip '.args