Fix :Gblame
This commit is contained in:
parent
a8392e0ebb
commit
70c0f132f5
@ -2341,7 +2341,7 @@ function! s:Blame(bang, line1, line2, count, mods, args) abort
|
|||||||
let cmd += ['--contents', '-']
|
let cmd += ['--contents', '-']
|
||||||
endif
|
endif
|
||||||
let cmd += ['--', s:Relative('')]
|
let cmd += ['--', s:Relative('')]
|
||||||
let basecmd = escape(call('s:Prepare', cmd), '!#%')
|
let basecmd = escape(call('s:Prepare', [b:git_dir] + cmd), '!#%')
|
||||||
try
|
try
|
||||||
let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd' : 'cd'
|
let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd' : 'cd'
|
||||||
let tree = s:Tree()
|
let tree = s:Tree()
|
||||||
|
Loading…
Reference in New Issue
Block a user