mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-09 12:03:47 -05:00
Fix :Gbrowse tagname
This commit is contained in:
@@ -2222,6 +2222,9 @@ function! s:Browse(bang,line1,count,...) abort
|
|||||||
else
|
else
|
||||||
let expanded = s:buffer().expand(rev)
|
let expanded = s:buffer().expand(rev)
|
||||||
endif
|
endif
|
||||||
|
if filereadable(s:repo().tree('refs/tags/' . expanded))
|
||||||
|
let expanded = 'refs/tags/' . expanded
|
||||||
|
endif
|
||||||
let full = s:repo().translate(expanded)
|
let full = s:repo().translate(expanded)
|
||||||
let commit = ''
|
let commit = ''
|
||||||
if full =~? '^fugitive:'
|
if full =~? '^fugitive:'
|
||||||
|
|||||||
Reference in New Issue
Block a user