From: Junio C Hamano Date: Wed, 15 Oct 2025 20:17:11 GMT Subject: Re: [PATCH 9/9] refs: add a '--required' flag to 'git refs optimize' Message-ID: In-Reply-To: Patrick Steinhardt writes: > So if we build on top of that mechanism we can easily broaden the scope > of this patch series to: > > - Check whether maintenance is needed for any of the enabled tasks. > > - Check whether maintenance is needed for a single task. > > - Check whether maintenance is needed given a specific maintenance > strategy. > > Another benefit is that it's a bit easier to put a verb into a proper > subcommand of git-maintenance(1) instead of having to add a verb-ish > flag to git-pack-refs(1). `git maintenance is-needed` feels way more > natural to me at least compared to `git refs optimize --check`. Very nice.