motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 7165817b690db39fd463529afe8e76bd3c9b03ff (tree)
parent be68a8ec8af8853b68e5f8eff2f9593aaa032777
Author: Tim Pope <code@tpope.net>
Date:   Sat, 21 Jul 2018 19:43:49 -0400

Attempt 2 at fixing :Gbrowse tagname

Diffstat:
Mautoload/fugitive.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -2446,8 +2446,8 @@ function! s:Browse(bang,line1,count,...) abort else let expanded = s:buffer().expand(rev) endif - if filereadable(s:repo().tree('refs/tags/' . expanded)) - let expanded = 'refs/tags/' . expanded + if filereadable(s:repo().dir('refs/tags/' . expanded)) + let expanded = '.git/refs/tags/' . expanded endif let full = s:repo().translate(expanded) let commit = ''