On 09/19/2018 11:30 AM, Geert Uytterhoeven wrote: > Hi Marek, > > On Wed, Sep 19, 2018 at 11:28 AM Geert Uytterhoeven > <geert@xxxxxxxxxxxxxx> wrote: >> On Wed, Sep 19, 2018 at 11:22 AM Marek Vasut <marek.vasut@xxxxxxxxx> wrote: >>> On 09/19/2018 11:13 AM, Simon Horman wrote: >>>> Marek, these days checkpatch complains if the author of the patch does not >>>> have a signed offline, and the inconsistency between your >>>> from and Sign-off the email address trips that check. >>>> >>>> Could you consider either a) enhancing checkpatch or b) using >> >> I'm the one who enhanced checkpatch with the new check ;-) >> >>>> the same address twice? No need to take any action for this patch. >>> >>> Sure, do you know if there's some tweak to git config , so git >>> send-email uses the m.v+foo@ From address ? >> >> Git send-email uses the address from user.email in gitconfig, just >> like git commit. >> >> However, I see you're using Gmail's SMTP server. That one replaces the >> From-line in the header by your primary email address as configured in Gmail >> (even if you have configured Gmail to know the other address is yours, too). >> >> I use my ISP's SMTP server to work around that. > > Another trick that should work: > > If you run git send-email in a repo with a different user.email > config, it should > add the original From to the email's body, as it will detect you're submitting > patches on behalf of "someone else". Or I can just patch in the From field myself before sending , just like Cc: and SoB ? -- Best regards, Marek Vasut