]> git.99rst.org Git - git.git/commit
bulk-checkin: use repository variable from transaction
authorJustin Tobler <redacted>
Fri, 22 Aug 2025 21:35:00 +0000 (16:35 -0500)
committerJunio C Hamano <redacted>
Mon, 25 Aug 2025 16:48:14 +0000 (09:48 -0700)
commitddc0b56ad77d7c86145a6a1774f05f9d11bf2337
treea7f21d2a1173226c31eb7717631431c11ad00a0d
parentaa4d81b53311fcdf099400beebad99c14be4b561
bulk-checkin: use repository variable from transaction

The bulk-checkin subsystem depends on `the_repository`. Adapt functions
and call sites to access the repository through `struct odb_transaction`
instead. The `USE_THE_REPOSITORY_VARIBALE` is still required as the
`pack_compression_level` and `pack_size_limit_cfg` globals are still
used.

Also adapt functions using packfile state to instead access it through
the transaction. This makes some function parameters redundant and go
away.

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