mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 13:53:51 -05:00
Fix :0Glog another/path
This commit is contained in:
@@ -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