commit a4496e0d0bc15de05114b7e761841f5c3ccdd2f3 (tree)
parent b248cddf91c7a6513f2a44110cf530fc14331bbe
Author: Tim Pope <code@tpope.net>
Date: Mon, 19 Oct 2009 21:56:55 -0400
Support :Git with no arguments
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -405,7 +405,7 @@ call s:add_methods('buffer',['getvar','getline','repo','type','name','commit','p
" }}}1
" Git {{{1
-call s:command("-bar -bang -nargs=? -complete=customlist,s:GitComplete Git :call s:Git(<bang>0,<f-args>)")
+call s:command("-bar -bang -nargs=? -complete=customlist,s:GitComplete Git :call s:Git(<bang>0,<q-args>)")
function! s:ExecuteInTree(cmd) abort
let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd ' : 'cd '