Re: [PATCH v2 1/2] format-patch: add ability to use alt cover format
On Wed, Feb 25, 2026 at 08:56:28AM -0500, Jeff King wrote:
Show 19 quoted lines
> 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).