Re: Using really empty start prefixes for git-format-patch numbered patches?
On Mon, May 30, 2011 at 12:19:22PM -0700, Junio C Hamano wrote:
Show 9 quoted lines
> Jeff King <peff@peff.net> writes:
>
> > I don't think there is currently a way to do what you want short of
> > post-processing the output of format-patch. You can use "-k" to preserve
> > the subject, but then you don't get the "1/2" that you want.
>
> You would unconditionally get "[" and "]" that you may or may not want and
> there is no way to change it to "(1/2)" or "1 of 2: "; unless we shoot for
> a completely flexible solution, we need to draw a line somewhere.
Hmm, yeah, I guess we could go farther pretty simply with:
git format-patch --subject='[PATCH %n/%m] %s'
but I admit I don't really care enough to work on it. :)
> Will queue; thanks.