Skip to content

Commit 56f3fc9

Browse files
pks-tgitster
authored andcommitted
odb: make optimizations pluggable
Move `odb_optimize()` and `odb_optimize_required()` from "builtin/gc.c" into the "files" source and wire them up via newly introduced vtable pointers for the object database sources. This makes the logic pluggable and thus allows other backends to have their own, custom implementation. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 7534d45 commit 56f3fc9

6 files changed

Lines changed: 579 additions & 489 deletions

File tree

0 commit comments

Comments
 (0)