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 a069fa706676309c7ea15a96a2a6b4daff6011fe (tree)
parent d6f17608ddbae06ed5867f58e322a16806fa7248
Author: Tim Pope <code@tpope.net>
Date:   Tue, 25 Mar 2014 13:37:19 -0400

Accidental omission from previous commit

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

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -982,7 +982,7 @@ 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,'%(%(^| )-- )@<!%(^| )@<=%(-[es]|--edit|--interactive|--signoff)%($| )','') + let args = s:gsub(args,'%(%(^| )-- )@<!%(^| )@<=%(-[esp]|--edit|--interactive|patch|--signoff)%($| )','') let args = s:gsub(args,'%(%(^| )-- )@<!%(^| )@<=%(-F|--file|-m|--message)%(\s+|\=)%(''[^'']*''|"%(\\.|[^"])*"|\\.|\S)*','') let args = s:gsub(args,'%(^| )@<=[%#]%(:\w)*','\=expand(submatch(0))') let args = '-F '.s:shellesc(msgfile).' '.args