libgit2/libgit2 — pull request #1277 by sba1 (2013-01-24 20:20:22+00:00)
Title: Add git_branch_name()

The git branch API seems to abstract abstract the ref prefixes of branches. But I haven't found a way to get the name of a branch without manually skipping the ref prefixes. This is a suggestion to add the function git_branch_name() to the API which analogously to the rest of the branch API abstract away skipping the ref prefixes.