mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-15 14:53:51 -05:00
Really fix packed ref handling in :Gbrowse
References https://github.com/tpope/vim-fugitive/issues/1428
This commit is contained in:
@@ -5714,7 +5714,7 @@ function! fugitive#BrowseCommand(line1, count, range, bang, mods, arg, args) abo
|
|||||||
if getfsize(ref_file) > 0
|
if getfsize(ref_file) > 0
|
||||||
let commit = readfile(ref_file, '', 1)[0]
|
let commit = readfile(ref_file, '', 1)[0]
|
||||||
else
|
else
|
||||||
let commit = fugitive#RevParse(ref_file, dir)
|
let commit = fugitive#RevParse(commit[5:-1], dir)
|
||||||
endif
|
endif
|
||||||
let i -= 1
|
let i -= 1
|
||||||
endwhile
|
endwhile
|
||||||
|
|||||||
Reference in New Issue
Block a user