diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index bc9bbe3..5819571 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1641,7 +1641,7 @@ function! s:Dispatch(bang, args) try let b:current_compiler = 'git' let &l:errorformat = s:common_efm - let &l:makeprg = s:git_command() . ' ' . a:args + let &l:makeprg = s:git_command() . (empty(a:args) ? '' : ' ' . a:args) execute cd fnameescape(s:repo().tree()) if exists(':Make') == 2 noautocmd Make