Re: How to create the " [PATCH 0/5]" first email?
- From
Jeff King <peff@peff.net>
- Date
- Sep 18, 2012, 00:15 UTC
- Message-ID
- <20120918001522.GA10283@sigill.intra.peff.net>
- In-Reply-To
- <7vfw6gqkfg.fsf@alter.siamese.dyndns.org>
On Mon, Sep 17, 2012 at 04:49:39PM -0700, Junio C Hamano wrote:
Show 15 quoted lines
> > However, when it came to creating the series, with comments, I > > couldn't see a way of having my comments within my local commits, but > > preparing a patch series that would properly include the '---' > > separator. > > An unofficial trick that works is to write the > > --- > > * This is an additional comment > > > yourself when running "git commit". That will be propagated to the > output from format-patch. You will have another "---" in front of > the diffstat, but nobody is hurt by that.
But note that using "format-patch -s" will break; it puts the sign-off below the "---".
> But when doing a big series that deserves a cover letter [PATCH 0/n], > you will use editor on the output from format-patch anyway, and I > find it simpler to do the follow-on comments at that point myself.
Me too (actually, I load it all into mutt and then comment on each as I send them out, but it amounts to the same thing, seeing as how my MUA just invokes $EDITOR when I edit a mail).
-Peff