aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-05-22 16:17:42 +0200
committerJunio C Hamano <gitster@pobox.com>2017-05-23 14:29:55 +0900
commitc0ca9357640ae5efbdbfed4c5b476c820a839e85 (patch)
tree294b2881d00573adda19ecbd361754b51dd0a034 /t/t4013/diff.diff_initial..side
parentfiles_ref_store: put the packed files lock directly in this struct (diff)
downloadgit-c0ca9357640ae5efbdbfed4c5b476c820a839e85.tar.gz
git-c0ca9357640ae5efbdbfed4c5b476c820a839e85.zip
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/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions