commit 442d56e23cd75a336b28cf5e46bf0def8c65dff5 (tree)
parent cb613ca05d3d195d52cfb5ce32f44c1d9e196214
Author: Tim Pope <code@tpope.net>
Date: Fri, 16 Aug 2019 13:48:32 -0400
Fix :Glog
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -3862,7 +3862,7 @@ function! s:Log(type, bang, line1, count, args, legacy) abort
if empty(paths + extra) && a:legacy && len(s:Relative('/'))
let after = '|echohl WarningMsg|echo ' . string('Use :0Glog or :0Gclog for old behavior of targeting current file') . '|echohl NONE' . after
endif
- return s:QuickfixStream(listnr, title, s:UserCommand(dir, cmd), !a:bang, s:function('s:LogParse'), state, path, dir) . after
+ return s:QuickfixStream(listnr, title, s:UserCommandList(dir) + cmd, !a:bang, s:function('s:LogParse'), state, path, dir) . after
endfunction
call s:command("-bang -nargs=? -range=-1 -addr=windows -complete=customlist,s:GrepComplete Ggrep", "grep")