On Wed, 6 Apr 2016 11:53:27 -0600 Eric Blake <[email protected]> wrote:
> On 04/06/2016 11:14 AM, Mattias Andrée wrote: > > On Wed, 6 Apr 2016 19:09:32 +0200 > > <[email protected]> wrote: > > > >> From: Mattias Andrée <[email protected]> > > > > If anyone knows why git send-email inserted > > this line it would be helpful. That line > > shouldn't be there. > > Git does that if your outgoing mail "From:" is different > from the git authorship "From:". In your case, the > difference is that your git settings did not specify a > "Full Name <[email protected]>" mail line, but merely an > email address "<[email protected]>"; whereas your > authorship included full name. You may want to check > that your top-level ~/.gitconfig has these settings: > > [user] > name = "Full Name" > email = [email protected] > [sendemail] > from = Full Name <[email protected]> > > so that 'git send-email' won't be forced to assume > authorship is different than mail sender. > That fixed the problem. Thanks. Feels a bit pedantic that you have too specify the from value completely. One would think that it could figure it out.
pgpiEXR0CaRnD.pgp
Description: OpenPGP digital signature
