From: Jeff King Date: Mon, 30 May 2011 20:23:02 GMT Subject: Re: Using really empty start prefixes for git-format-patch numbered patches? Message-ID: <20110530202302.GA29811@sigill.intra.peff.net> In-Reply-To: <7voc2km1xh.fsf@alter.siamese.dyndns.org> On Mon, May 30, 2011 at 12:19:22PM -0700, Junio C Hamano wrote: > Jeff King 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. Thanks. -Peff