parent
09cbdded83
commit
f6d93b8788
@ -931,11 +931,11 @@ function! s:Commit(args) abort
|
||||
endif
|
||||
let command .= s:repo().git_command('commit').' '.a:args
|
||||
if &shell =~# 'csh'
|
||||
silent execute '!('.command.' > '.outfile.') >& '.errorfile
|
||||
noautocmd silent execute '!('.command.' > '.outfile.') >& '.errorfile
|
||||
elseif a:args =~# '\%(^\| \)--interactive\>'
|
||||
execute '!'.command.' 2> '.errorfile
|
||||
noautocmd execute '!'.command.' 2> '.errorfile
|
||||
else
|
||||
silent execute '!'.command.' > '.outfile.' 2> '.errorfile
|
||||
noautocmd silent execute '!'.command.' > '.outfile.' 2> '.errorfile
|
||||
endif
|
||||
finally
|
||||
execute cd.'`=dir`'
|
||||
|
Loading…
x
Reference in New Issue
Block a user