From b0de6c2811f53aecbfb9d1b123be1e954a195584 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 18 Jul 2019 14:16:40 -0400 Subject: [PATCH] Fix :0Glog another/path --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index b23b230..1c4ba5d 100644 --- 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')