Identify new buffers as "file"
This commit is contained in:
parent
9dfa357770
commit
11951a614c
@ -1410,7 +1410,7 @@ function! s:Blame(bang,line1,line2,count,args) abort
|
|||||||
else
|
else
|
||||||
let cmd += ['--contents', '-']
|
let cmd += ['--contents', '-']
|
||||||
endif
|
endif
|
||||||
let basecmd = call(s:repo().git_command,cmd+['--',s:buffer().path()],s:repo())
|
let basecmd = escape(call(s:repo().git_command,cmd+['--',s:buffer().path()],s:repo()),'!')
|
||||||
try
|
try
|
||||||
let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd ' : 'cd '
|
let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd ' : 'cd '
|
||||||
if !s:repo().bare()
|
if !s:repo().bare()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user