diff options
| author | Justin Tobler <jltobler@gmail.com> | 2026-07-10 11:37:14 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-10 13:21:52 -0700 |
| commit | ee1785a49080943dcde9303c3771de04c873e93c (patch) | |
| tree | f6ee09d901897ec164e296ffc9c1cac801b13058 /t/t4013/diff.diff_initial..side | |
| parent | 9c182bb59bf0eb7fc3deecec65b4d5efe47df28c (diff) | |
object-file: embed transaction flush logic in commit function
When a "files" transaction is committed,
`flush_loose_object_transaction()` is invoked to handle performing a
hardware flush along with migrating the temporary object directory into
the primary and configuring the repository ODB source accordingly. The
function name here is a bit misleading because the helper is doing a bit
more than just "flushing" the transaction contents. Also, in a
subsequent commit, the transaction temporary directory is used to stage
packfiles and not just loose objects anymore.
Lift the helper function logic into `odb_transaction_files_commit()` to
more accurately signal to readers the operation being performed.
Signed-off-by: Justin Tobler <jltobler@gmail.com>
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
