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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: 2016-06-15 22:57:27

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" [off-list ref]' with 'Jason A. Donenfeld
[off-list ref]'.

So, the logic needs to be fixed somehow.

Thanks,
Jason

Re: git-send-email doesn't deal with quoted names

From: John Keeping <hidden>
Date: 2016-06-15 22:57:27

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" [off-list ref]' with 'Jason A. Donenfeld
[off-list ref]'.

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help