mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-13 16:39:02 +08:00
Fix :0Glog another/path
This commit is contained in:
1 parent
e25a214f78
commit
b0de6c2811
1 file changed
+1
-1
@@ -3560,7 +3560,7 @@ function! s:Log(type, bang, line1, count, args) abort
|
|||||||
let path = ''
|
let path = ''
|
||||||
elseif a:line1 == 0
|
elseif a:line1 == 0
|
||||||
let range = "0," . (a:count ? a:count : bufnr(''))
|
let range = "0," . (a:count ? a:count : bufnr(''))
|
||||||
let extra = (len(paths) ? [] : ['--']) + [path[1:-1]]
|
let extra = ['.' . path]
|
||||||
elseif a:count > 0
|
elseif a:count > 0
|
||||||
if !s:HasOpt(args, '--merges', '--no-merges')
|
if !s:HasOpt(args, '--merges', '--no-merges')
|
||||||
call insert(args, '--no-merges')
|
call insert(args, '--no-merges')
|
||||||
|
|||||||
Reference in new issue
Block a user