Refs which are locked in a transaction without an altered target, still should to be unlocked on `git_transaction_commit`. `git_transaction_free` also unlocks refs but the moment of calling of `git_transaction_free` cannot be controlled in all situations. Some binding libs call `git_transaction_free` on garbage collection or not at all if the application exits before and don't provide public access to `git_transaction_free`. It is better to release locks as soon as possible.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| branches | Loading commit data... | |
| reflog | Loading commit data... | |
| crashes.c | Loading commit data... | |
| create.c | Loading commit data... | |
| delete.c | Loading commit data... | |
| dup.c | Loading commit data... | |
| foreachglob.c | Loading commit data... | |
| isvalidname.c | Loading commit data... | |
| iterator.c | Loading commit data... | |
| list.c | Loading commit data... | |
| listall.c | Loading commit data... | |
| lookup.c | Loading commit data... | |
| namespaces.c | Loading commit data... | |
| normalize.c | Loading commit data... | |
| overwrite.c | Loading commit data... | |
| pack.c | Loading commit data... | |
| peel.c | Loading commit data... | |
| races.c | Loading commit data... | |
| read.c | Loading commit data... | |
| ref_helpers.c | Loading commit data... | |
| ref_helpers.h | Loading commit data... | |
| rename.c | Loading commit data... | |
| revparse.c | Loading commit data... | |
| setter.c | Loading commit data... | |
| shorthand.c | Loading commit data... | |
| transactions.c | Loading commit data... | |
| unicode.c | Loading commit data... | |
| update.c | Loading commit data... |