From: Junio C Hamano Date: Fri, 21 Nov 2025 17:14:15 +0000 (-0800) Subject: Merge branch 'kn/maintenance-is-needed' X-Git-Tag: v2.53.0-rc0~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c62d2d381087b6ab0f485dc9d27346ff887600cc;p=thirdparty%2Fgit.git Merge branch 'kn/maintenance-is-needed' "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 --- c62d2d381087b6ab0f485dc9d27346ff887600cc 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"