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/t4013/diff.diff_initial..side | |
| parent | files_ref_store: put the packed files lock directly in this struct (diff) | |
| download | git-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
