From: Johan Herland Date: Tue, 26 Apr 2011 09:28:58 GMT Subject: Re: [PATCH/RFC 2/2] format-patch: show notes as message after the --- Message-ID: <201104261128.58527.johan@herland.net> In-Reply-To: <826def15eb7204ee30fc4c358f72103ec75b4e42.1303808057.git.git@drmicha.warpmail.net> On Tuesday 26 April 2011, Michael J Gruber wrote: > When requesting notes with "--notes", "format-patch" produces notes > within the commit message which "am" misunderstands as being part of > the message. > > Change this so that notes are displayed after an additional "---". > Any "am" (old or new) will ignore that, so that it is a safe place > for additional comments: > > Log message > "---" > notes > "---" > diffstat > patch > > (The first "---" appears only when there is a note, of course.) > > Later on (say with "--format-notes") the output format can be changed > easily to accomodate a future "am" which knows how to create notes > from such patches. > > Signed-off-by: Michael J Gruber Acked-by: Johan Herland (goes for 1/2 as well) /me likes :) ...Johan -- Johan Herland, www.herland.net