[PATCH 00/11] odb: make optimizations pluggable
From: Patrick Steinhardt <hidden>
Date: 2026-07-07 15:32:57
Hi,
this patch series converts object housekeeping to become pluggable.
There isn't really anything else to say about this.
The series is built on top of f85a7e6620 (Start Git 2.56 cycle,
2026-07-06).
Thanks!
Patrick
---
Patrick Steinhardt (11):
odb: run "pre-auto-gc" hook for all maintenance tasks
builtin/gc: move worktree and rerere tasks before object optimizations
builtin/gc: extract object database optimizations into separate function
builtin/gc: make repack arguments self-contained
builtin/gc: inline config values specific to the "files" backend
builtin/gc: introduce object database optimization options
builtin/gc: move geometric repacking into `odb_optimize()`
builtin/gc: introduce `odb_optimize_required()`
builtin/gc: refactor ODB optimizations to operate on "files" source
builtin/gc: fix signedness issues in ODB-related functionality
odb: make optimizations pluggable
builtin/gc.c | 534 ++++++++-----------------------------------------
odb.c | 12 ++
odb.h | 45 +++++
odb/source-files.c | 470 +++++++++++++++++++++++++++++++++++++++++++
odb/source-files.h | 15 ++
odb/source.h | 36 ++++
t/t7900-maintenance.sh | 143 ++++++++++++-
7 files changed, 789 insertions(+), 466 deletions(-)
---
base-commit: f85a7e662054a7b0d9070e432508831afa214b47
change-id: 20260612-b4-pks-odb-optimize-3426c57e5c30