mirror of
https://git.proxmox.com/git/libgit2
synced 2025-11-03 21:50:26 +00:00
This is a convenience function to get the branch name of a given ref. The returned branch name is compatible with the name that can be supplied e.g. to git_branch_lookup(). That is, the prefixes "refs/heads" or "refs/remotes" are omitted. Also added a new test for testing the new function. |
||
|---|---|---|
| .. | ||
| git2 | ||
| git2.h | ||