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
|
||||
let cmd += ['--contents', '-']
|
||||
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
|
||||
let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd ' : 'cd '
|
||||
if !s:repo().bare()
|
||||
|
Loading…
Reference in New Issue
Block a user