From: Joe Perches Date: Sat, 16 Mar 2019 20:23:30 GMT Subject: Re: [PATCH] send-email: don't cc *-by lines with '-' prefix Message-ID: <2220d599992885eca1709f316a3e862c671301ff.camel@perches.com> In-Reply-To: <87y35eziel.fsf@tarshish> On Sat, 2019-03-16 at 22:14 +0200, Baruch Siach wrote: > Hi Joe, Hello Baruch. > On Sat, Mar 16 2019, Joe Perches wrote: > > So buildroot uses '+Signed-off-by:' and '-Signed-off-by:' lines > > for some internal purpose? > > > > Why? > > > > https://buildroot.org/downloads/manual/manual.html > > > > doesn't mention it. > > No. Patches to the Buildroot project often add or remove patch > files. See this one for example: > > http://lists.busybox.net/pipermail/buildroot/2019-March/244762.html > > In this case 'git send-email' added Peter Korsgaard to cc because a > patch file with his sign-off is removed. > > (mbox) Adding cc: Baruch Siach from line 'From: Baruch Siach ' > (body) Adding cc: Petr Vorel from line 'Cc: Petr Vorel ' > (body) Adding cc: Baruch Siach from line 'Signed-off-by: Baruch Siach ' > (body) Adding cc: Peter Korsgaard from line '-Signed-off-by: Peter Korsgaard ' I see. IMO git send-email should not really be adding -by: lines from actual patch content but only from lines before any '^---'.