commit b0de6c2811f53aecbfb9d1b123be1e954a195584 (tree)
parent e25a214f780ed6ece49d22e2d1fe78e7b7e24afc
Author: Tim Pope <code@tpope.net>
Date: Thu, 18 Jul 2019 14:16:40 -0400
Fix :0Glog another/path
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -3560,7 +3560,7 @@ function! s:Log(type, bang, line1, count, args) abort
let path = ''
elseif a:line1 == 0
let range = "0," . (a:count ? a:count : bufnr(''))
- let extra = (len(paths) ? [] : ['--']) + [path[1:-1]]
+ let extra = ['.' . path]
elseif a:count > 0
if !s:HasOpt(args, '--merges', '--no-merges')
call insert(args, '--no-merges')