]> git.ipfire.org Git - thirdparty/git.git/commit
odb: store ODB source in `struct odb_transaction`
authorJustin Tobler <jltobler@gmail.com>
Tue, 3 Feb 2026 00:09:59 +0000 (18:09 -0600)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Feb 2026 01:14:03 +0000 (17:14 -0800)
commit585e8dfa27050ce0a69c6e7ead0a3355912d4992
tree9cd4ce58b7db5c4e5effbd6d54f3eb12abfd68d5
parentea717645d199f6f1b66058886475db3e8c9330e9
odb: store ODB source in `struct odb_transaction`

Each `struct odb_transaction` currently stores a reference to the
`struct object_database`. Since transactions are handled per object
source, instead store a reference to the source.

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