Skip to content

Commit b3e91a3

Browse files
osandovsudotac
authored andcommitted
Fix link to branch log
1 parent c60d827 commit b3e91a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/cgit/fugitive.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function! cgit#fugitive#handler(opts, ...)
2121
" If the branch/tag doesn't exist upstream, the URL won't be valid
2222
" Could check upstream refs?
2323
if path =~# '^\.git/refs/heads/'
24-
return root . '/log/' . path[16:-1]
24+
return root . '/log/?h=' . path[16:-1]
2525
elseif path =~# '^\.git/refs/tags/'
2626
return root . '/tag/?h=' . path[15:-1]
2727
elseif path =~# '^\.git/refs/.'

0 commit comments

Comments
 (0)