Fixes https://pagure.io/pagure/issue/3012
This is how it looks:
rebased onto a3ad623329e5065bb0a4cb1731cd516a137aed6d
This should probably check for prefix only. With this code a weirdly named branch could be interpreted as a tag. For example, here's no tag, just a branch called branch/called/refs/tags/hack.
branch/called/refs/tags/hack
^^, fair, I'll update that :)
1 new commit added
The code looks good to me. One question: why flag icon instead of tag icon?
there is a tag one?
Checking and updating if so :)
Indeed, there is a tag, let's use it :)
rebased onto 06f5ad85d0509a4ecdadb91c79badae047cb8b86
Pull-Request has been merged by pingou
Fixes https://pagure.io/pagure/issue/3012