diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 9b6363e..09a599f 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1007,7 +1007,7 @@ function! s:StdoutToFile(out, cmd, ...) abort throw 'fugitive: Vim 8 or higher required to use ' . &shell else let cmd = fugitive#ShellCommand(a:cmd) - return s:SystemError(' (' . cmd . ' >' . (len(a:out) ? a:out : '/dev/null') . ') ') + return call('s:SystemError', [' (' . cmd . ' >' . (len(a:out) ? a:out : '/dev/null') . ') '] + a:000) endif endfunction