git-commit-vandalism/refs
Michael Haggerty c0ca935764 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>
2017-05-23 14:29:55 +09:00
..
files-backend.c files_transaction_cleanup(): new helper function 2017-05-23 14:29:55 +09:00
iterator.c prefix_ref_iterator: don't trim too much 2017-05-23 14:29:52 +09:00
ref-cache.c refs/files-backend: convert many internals to struct object_id 2017-05-08 15:12:58 +09:00
ref-cache.h refs/files-backend: convert many internals to struct object_id 2017-05-08 15:12:58 +09:00
refs-internal.h ref_store: take a msg parameter when deleting references 2017-05-23 14:29:53 +09:00