diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-06-23 09:01:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-23 13:27:33 -0700 |
commit | 49aebcf4328d96bb984672213de76cd4c45197f2 (patch) | |
tree | f84a389eead52efb743a15f9784fcc29be08ea74 /t/t9902-completion.sh | |
parent | packed_refs_lock(): report errors via a `struct strbuf *err` (diff) | |
download | tgif-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 't/t9902-completion.sh')
0 files changed, 0 insertions, 0 deletions