From bf7f05e62b75570d2bde8cbc131bfe25dbcdb427 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 5 Jun 2019 22:43:31 -0400 Subject: [PATCH] Accept a count to :Git Now that support is widely available, I'm considering moving all :Gsplit! variants onto :Git!, and making :0Git! suppress the split. --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 126ccf3..204cfee 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1837,7 +1837,7 @@ augroup END " Section: :Git -call s:command("-bang -nargs=? -complete=customlist,fugitive#CompleteGit Git", "Git") +call s:command("-bang -nargs=? -range=-1 -complete=customlist,fugitive#CompleteGit Git", "Git") function! s:GitCommand(line1, line2, range, count, bang, mods, reg, arg, args) abort if a:bang