# git-send-email doesn't deal with quoted names

2 messages from 2013-05-27 to 2013-05-28. Participants: Jason A. Donenfeld, John Keeping.
Thread: https://gitlist.dev/t/33955

## Jason A. Donenfeld, 2013-05-27 23:40

Subject: git-send-email doesn't deal with quoted names
Message-ID: <CAHmME9p19eysjEVk+6FmAb2FQb7dq_e3k_KLQLRZqhx2Bs6O3w@mail.gmail.com>
URL: https://gitlist.dev/e/CAHmME9p19eysjEVk%2B6FmAb2FQb7dq_e3k_KLQLRZqhx2Bs6O3w%40mail.gmail.com

```
Hi,

My commit author name is "Jason A. Donenfeld". Because this has a dot,
SMTP handling likes to put it in quotes.

git-send-email has this line:
            if (defined $author and $author ne $sender) {

With my name, this always winds up false, because it's comparing
'"Jason A. Donenfeld" <Jason@zx2c4.com>' with 'Jason A. Donenfeld
<Jason@zx2c4.com>'.

So, the logic needs to be fixed somehow.

Thanks,
Jason

```

## John Keeping, 2013-05-28 08:25

Subject: Re: git-send-email doesn't deal with quoted names
Message-ID: <20130528082517.GP27005@serenity.lan>
URL: https://gitlist.dev/e/20130528082517.GP27005%40serenity.lan
In-Reply-To: <CAHmME9p19eysjEVk+6FmAb2FQb7dq_e3k_KLQLRZqhx2Bs6O3w@mail.gmail.com>

```
On Tue, May 28, 2013 at 01:40:20AM +0200, Jason A. Donenfeld wrote:
> My commit author name is "Jason A. Donenfeld". Because this has a dot,
> SMTP handling likes to put it in quotes.
> 
> git-send-email has this line:
>             if (defined $author and $author ne $sender) {
> 
> With my name, this always winds up false, because it's comparing
> '"Jason A. Donenfeld" <Jason@zx2c4.com>' with 'Jason A. Donenfeld
> <Jason@zx2c4.com>'.
> 
> So, the logic needs to be fixed somehow.

There was a patch for this recently, although it appears to be still
under discussion:

    http://article.gmane.org/gmane.comp.version-control.git/225247

```
