mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-26 07:16:34 +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. |
||
|---|---|---|
| .. | ||
| branches | ||
| reflog | ||
| crashes.c | ||
| create.c | ||
| delete.c | ||
| foreachglob.c | ||
| isvalidname.c | ||
| list.c | ||
| listall.c | ||
| lookup.c | ||
| normalize.c | ||
| overwrite.c | ||
| pack.c | ||
| peel.c | ||
| read.c | ||
| rename.c | ||
| revparse.c | ||
| unicode.c | ||
| update.c | ||