]> git.ipfire.org Git - thirdparty/git.git/commit
bulk-checkin: drop flush_odb_transaction()
authorJustin Tobler <jltobler@gmail.com>
Tue, 16 Sep 2025 18:29:35 +0000 (13:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Sep 2025 18:37:05 +0000 (11:37 -0700)
commitca7d93453b6c309aa1fca411e1bdaa9ca4c82199
tree0d9c8f61259ef635c1a4e41777b9ffbf9be0cc5e
parent9c61d9aded98748aae949b83babbdbd11e695f32
bulk-checkin: drop flush_odb_transaction()

Object database transactions can be explicitly flushed via
flush_odb_transaction() without actually completing the transaction.
This makes the provided transactional interface a bit awkward. Now that
there are no longer any flush_odb_transaction() call sites, drop the
function to simplify the interface and further ensure that a transaction
is only finalized when end_odb_transaction() is invoked.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bulk-checkin.c
bulk-checkin.h