motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 24efca8f4fcb2f71b1652ed40d20b561810cb4ac (tree)
parent 9d02bf0868915199046549ce176286c3b834c681
Author: Tim Pope <code@tpope.net>
Date:   Thu,  9 Sep 2010 11:17:45 -0400

Fix :Gcommit with noisy pre-commit hook

Diffstat:
Mplugin/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -697,7 +697,7 @@ function! s:Commit(args) abort endif return '' else - let error = get(readfile(errorfile,'',1),0,'!') + let error = get(readfile(errorfile),-2,'!') if error =~# "'false'\\.$" let args = a:args let args = s:gsub(args,'%(%(^| )-- )@<!%(^| )@<=%(-[se]|--edit|--interactive)%($| )','')