]> git.ipfire.org Git - thirdparty/git.git/commit
bulk-checkin: remove global transaction state
authorJustin Tobler <jltobler@gmail.com>
Fri, 22 Aug 2025 21:34:58 +0000 (16:34 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Aug 2025 16:48:13 +0000 (09:48 -0700)
commitb3361447256bb92a1dbdda910a33cfb1d6fc8f88
treed6d52cf269972a5950dc7aac44204e2a16d274bb
parent98518304c5761ba04cefb6d73c5698db7e46d1c2
bulk-checkin: remove global transaction state

Object database transactions in the bulk-checkin subsystem rely on
global state to track transaction status. Stop relying on global state
and instead store the transaction in the `struct object_database`.
Functions that operate on transactions are updated to now wire
transaction state.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c
builtin/unpack-objects.c
builtin/update-index.c
bulk-checkin.c
bulk-checkin.h
cache-tree.c
object-file.c
odb.h
read-cache.c