Re: [PATCH] builtin/reflog: say "would prune" for named refs with --dry-run
- From
- Laveesh Bansal <laveeshb@laveeshbansal.com>
- Date
- Oct 25, 2026, 19:15 UTC
- Message-ID
- <20261025191559.79141-1-laveeshb@laveeshbansal.com>
- In-Reply-To
- <xmqqqzhdy7pi.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
> That will help prevent a similar bug from ever happening again, as > there would be only a single place that sets up how the expiration > is called, instead of two we currently have.
Agreed, and I think the consolidation is doable.
I suggest keeping this patch as it is, since it fixes the reported bug. I'll look into what you describe as a separate patch after this one, and the tests added here would stay useful for that patch too.