Re: [PATCH 9/9] refs: add a '--required' flag to 'git refs optimize'
Patrick Steinhardt <ps@pks.im> writes:
Show 14 quoted lines
> 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`.