mirror of
https://git.proxmox.com/git/libgit2
synced 2026-03-25 02:27:25 +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. |
||
|---|---|---|
| .. | ||
| create.c | ||
| delete.c | ||
| foreach.c | ||
| ishead.c | ||
| lookup.c | ||
| move.c | ||
| name.c | ||
| tracking.c | ||
| trackingname.c | ||