diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index de4b52c..9f264bb 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -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`'