]> git.ipfire.org Git - thirdparty/git.git/commit
bulk-checkin: introduce object database transaction structure
authorJustin Tobler <jltobler@gmail.com>
Fri, 22 Aug 2025 21:34:57 +0000 (16:34 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Aug 2025 16:48:13 +0000 (09:48 -0700)
commit98518304c5761ba04cefb6d73c5698db7e46d1c2
tree08a779fc55a721715037efeb5df3dc8ba6c63214
parentc44beea485f0f2feaf460e2ac87fdd5608d63cf0
bulk-checkin: introduce object database transaction structure

Object database transaction state is stored across several global
variables in the bulk-checkin subsystem. Consolidate this state into a
single `struct odb_transaction` global. In a subsequent commit, the
transactional interfaces will be updated to wire this structure instead
of relying on a global variable.

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