summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-06-23 09:01:43 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-23 13:27:33 -0700
commit49aebcf4328d96bb984672213de76cd4c45197f2 (patch)
treef84a389eead52efb743a15f9784fcc29be08ea74 /builtin
parentpacked_refs_lock(): report errors via a `struct strbuf *err` (diff)
downloadtgif-49aebcf4328d96bb984672213de76cd4c45197f2.tar.xz
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')
0 files changed, 0 insertions, 0 deletions