mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-08 05:04:51 +08:00
1 parent
70ec927890
commit
d6f17608dd
1 file changed
+1
-1
+1
-1
@@ -959,7 +959,7 @@ function! s:Commit(args) abort
|
||||
let command .= s:repo().git_command('commit').' '.a:args
|
||||
if &shell =~# 'csh'
|
||||
noautocmd silent execute '!('.command.' > '.outfile.') >& '.errorfile
|
||||
elseif a:args =~# '\%(^\| \)--interactive\>'
|
||||
elseif a:args =~# '\%(^\| \)-\%(-interactive\|p\|-patch\)\>'
|
||||
noautocmd execute '!'.command.' 2> '.errorfile
|
||||
else
|
||||
noautocmd silent execute '!'.command.' > '.outfile.' 2> '.errorfile
|
||||
|
||||
Reference in new issue
Block a user