diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-05-22 16:17:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-23 14:29:55 +0900 |
commit | c0ca9357640ae5efbdbfed4c5b476c820a839e85 (patch) | |
tree | 294b2881d00573adda19ecbd361754b51dd0a034 /t/t9002-column.sh | |
parent | files_ref_store: put the packed files lock directly in this struct (diff) | |
download | tgif-c0ca9357640ae5efbdbfed4c5b476c820a839e85.tar.xz |
files_transaction_cleanup(): new helper function
Extract the cleanup functionality from `files_transaction_commit()`
into a new function. It will soon have another caller.
Use the common cleanup code even on early exit if the transaction is
empty, to reduce code duplication.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9002-column.sh')
0 files changed, 0 insertions, 0 deletions