From: Junio C Hamano Date: Wed, 19 Nov 2025 18:58:40 +0000 (-0800) Subject: Merge branch 'kn/maintenance-is-needed' into next X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faaa24f412b6274531ec6d11c782c98aa71b992c;p=thirdparty%2Fgit.git Merge branch 'kn/maintenance-is-needed' into next "git maintenance" command learned "is-needed" subcommand to tell if it is necessary to perform various maintenance tasks. * kn/maintenance-is-needed: maintenance: add 'is-needed' subcommand maintenance: add checking logic in `pack_refs_condition()` refs: add a `optimize_required` field to `struct ref_storage_be` reftable/stack: add function to check if optimization is required reftable/stack: return stack segments directly --- faaa24f412b6274531ec6d11c782c98aa71b992c diff --cc builtin/gc.c index aad1496f07,928c805f02..e9a76243aa --- a/builtin/gc.c +++ b/builtin/gc.c @@@ -34,8 -34,8 +34,9 @@@ #include "pack-objects.h" #include "path.h" #include "reflog.h" +#include "repack.h" #include "rerere.h" + #include "revision.h" #include "blob.h" #include "tree.h" #include "promisor-remote.h"