Re: [PATCH v8 2/4] format-patch: add ability to use alt cover format
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 13, 2026, 20:22 UTC
- Message-ID
- <xmqqcy174gyt.fsf@gitster.g>
- In-Reply-To
- <abRTEXspvX_z0usP@exploit>
Mirko Faina <mroik@delayed.space> writes:
Show 9 quoted lines
> On Fri, Mar 13, 2026 at 10:20:48AM -0700, Junio C Hamano wrote: >> I do not mind a sort of DWIM similar to "log --pretty=format:%s"; >> technically, "git log --prefix" requires the "format:" prefix when >> using a custom format (i.e., not the canned "short", "fuller", etc.) >> but we DWIM when the string appears to use %-interpolation. > > Then we can move towards keeping the "log:" prefix but > allowing for it to be dropped when %-interpolation occurs, just like > --pretty does.
Yes. I vewi the DWIM as icing on the case, though. IOW, the feature is perfectly fine to require "log:" and still move forward, and it would be nice if people can say "--pretty=%s" without it.
But that DWIM is "it would be nice if this is added".