libgit2/libgit2 — pull request #1810 by nvloff (2013-08-25 13:15:29+00:00)
Title: refs: add git_reference_is_tag

Add `git_reference_is_tag`.

The check is needed sometimes and it's strange using `git_reference_is_branch` for branches and then using prefix comparison for tags.