Hello!

Removing this line
s/_/ /g;
here
https://github.com/git/git/blob/master/git-send-email.perl#L867

Solves this problem for me. But I really don't have any clue, what kind of side effects this modification on "sub unquote_rfc2047" might have.

Regards

Christoph

On 28.07.2012 23:33, Christoph Miebach wrote:
Hello!

send-email (tested versions 1.7.9.2 and 1.7.10.4) breaks email addresses.

Steps to reproduce:


Modify file.

git commit --author="Michał Tz <name_1...@some.com>" modified.file -m
"Test"

git format-patch -o patches origin

Now, the patch seems to have the address right, see [1]

git send-email  --to myown.addr...@mail.com --suppress-cc=author
patches/0001-Test.patch

But checking my inbox now shows an email starting with:
From: Michał Tz <name 1...@some.com>

So the address is splitted at the underscore.

Furthermore, if I don't use --suppress-cc=author, the CC field shows the
right address.

Regards

Christoph

[1]
less patches/0001-Test.patch
From: =?UTF-8?q?Micha=C5=82=20Tz?= <name_1...@some.com>

git show
Author: Michał Tz <name_1...@some.com>

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to