From 0d281a26073d27f6f3ece2b0faf6c16b917c2c40 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 23 Apr 2017 22:32:01 -0400 Subject: [PATCH] Eliminate trailing space in :Gpush --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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