summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-06-23 09:01:43 +0200
committerJunio C Hamano <gitster@pobox.com>2017-06-23 13:27:33 -0700
commit49aebcf4328d96bb984672213de76cd4c45197f2 (patch)
treef84a389eead52efb743a15f9784fcc29be08ea74 /builtin/commit.c
parentc8bed835c2a37056aa8f61769c6d8cc7f57bc4d3 (diff)
downloadgit-49aebcf4328d96bb984672213de76cd4c45197f2.tar.gz
packed_refs_unlock(), packed_refs_is_locked(): new functions
Add two new public functions, `packed_refs_unlock()` and `packed_refs_is_locked()`, with which callers can manage and query the `packed-refs` lock externally. Call `packed_refs_unlock()` from `commit_packed_refs()` and `rollback_packed_refs()`. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions