]> git.99rst.org Git - git.git/commit
odb/transaction: use pluggable `begin_transaction()`
authorJustin Tobler <redacted>
Thu, 14 May 2026 18:37:35 +0000 (13:37 -0500)
committerJunio C Hamano <redacted>
Thu, 14 May 2026 19:44:39 +0000 (04:44 +0900)
commit10cdbc7423b2f5f9c666c48fe8a6e6e044595799
tree11a18368c59bbcae2f46e996bf4a356aba4201d6
parent5f6744d3eba6264ce78c8b507b1a1d3c0e540c37
odb/transaction: use pluggable `begin_transaction()`

Each ODB source is expected to provide an ODB transaction implementation
that should be used when starting a transaction. With d6fc6fe6f8
(odb/source: make `begin_transaction()` function pluggable, 2026-03-05),
the `struct odb_source` now provides a pluggable callback for beginning
transactions. Use the callback provided by the ODB source accordingly.

Signed-off-by: Justin Tobler <redacted>
Signed-off-by: Junio C Hamano <redacted>
odb/transaction.c
git clone https://git.99rst.org/PROJECT