]> git.99rst.org Git - git.git/commit
builtin/gc: introduce object database optimization options
authorPatrick Steinhardt <redacted>
Mon, 13 Jul 2026 05:52:10 +0000 (07:52 +0200)
committerJunio C Hamano <redacted>
Mon, 13 Jul 2026 15:13:16 +0000 (08:13 -0700)
commitcc78c5029e62e6e1283c7d05bf60d845922aac9b
tree71de42efbf31e8c739c03c2dca514dae1e62a6d1
parent57ca517baca6c28ed11e923ed7f25bb5c7af8909
builtin/gc: introduce object database optimization options

Introduce `struct odb_optimize_options` to decouple the options that are
specific to optimizing the object database from `struct gc_config`. This
structure will be moved into the object database layer in a subsequent
commit.

Note that there are a small set of backend-specific options in this
structure. In an ideal world those of course wouldn't exist, but as
we're introducing the object database abstractions retroactively we are
somewhat forced to keep them.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/gc.c
git clone https://git.99rst.org/PROJECT