Fix :0Glog another/path
This commit is contained in:
parent
e25a214f78
commit
b0de6c2811
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user