Bring back tag badges - fixes #6
author Chris Han
()
committer Chris Han
()
commit 72d26d56a8ea9ac25d0b1220aa5061cb0edaf072
tree 79e0e59efb4de76a7b9fa9e87d3b141a433a04d3
parent bb76942471aa5e100ce1f1191e5b38c548f1655b
Bring back tag badges - fixes #6

This copy pasted code from the head list won’t really work for tags. Heads are easy in that they always point to a commit. Tags are more complicated in that they’re objects themselves, which then point to commits or even other tags. So you can’t just say the hash of the ref is the commit, you have to read the tag to dereference into the commit.
include/git/taglist/TagList.class.php
include/git/taglist/TagListLoad_Git.class.php
include/git/taglist/TagListLoad_Raw.class.php
comments