From: Mirko Faina Date: Wed, 25 Feb 2026 22:55:21 GMT Subject: Re: [PATCH v2 1/2] format-patch: add ability to use alt cover format Message-ID: In-Reply-To: <20260225135628.GD2139176@coredump.intra.peff.net> On Wed, Feb 25, 2026 at 08:56:28AM -0500, Jeff King wrote: > When this topic came up initially I imagined that the user would be able > to tweak the "[1/5]" part of the string, too. It would take a little > extra work, though: > > - introduce new placeholders like %(count) and %(total) or similar > > - introduce count/total fields to pretty_print_context > > - probably when total is unset, refuse to interpret %(count) and > %(total) at all (so they do not have meaning for regular "git log > --format" calls. > > - not sure how to handle the width field for the count. Would it have > an option to default to the width of the total field? > > But I'm not sure if it is worth all of that effort. It is more flexible, > but would people really want to customize how it is shown (after all, I > don't think we allow configuring it in the patch subjects themselves, > though we do allow suppressing the "[PATCH]" part completely). I can give it a try.