Fix a nonstandard fugitive error message
This commit is contained in:
parent
a02331e78f
commit
61698761e5
@ -859,7 +859,7 @@ function! s:BufReadObject()
|
||||
let b:fugitive_type = s:repo().git_chomp('cat-file','-t',hash)
|
||||
endif
|
||||
if b:fugitive_type !~# '^\%(tag\|commit\|tree\|blob\)$'
|
||||
return "echoerr 'Unrecognized git type'"
|
||||
return "echoerr 'fugitive: unrecognized git type'"
|
||||
endif
|
||||
let firstline = getline('.')
|
||||
if !exists('b:fugitive_display_format') && b:fugitive_type != 'blob'
|
||||
|
Loading…
x
Reference in New Issue
Block a user