From e047558beec1f45116033f040114f1033d4dd981 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 19 Apr 2011 18:24:33 -0400 Subject: [PATCH] Support :Gcommit on older Git versions --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index dafe109..b27a06c 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -720,7 +720,7 @@ function! s:Commit(args) abort else let errors = readfile(errorfile) let error = get(errors,-2,get(errors,-1,'!')) - if error =~# "'false'\\.$" + if error =~# '\