mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-03 00:43:53 +08:00
Fix a nonstandard fugitive error message
This commit is contained in:
1 parent
a02331e78f
commit
61698761e5
1 file changed
+1
-1
+1
-1
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user