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 <[email protected]>" 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 [email protected] --suppress-cc=author
patches/0001-Test.patch

But checking my inbox now shows an email starting with:
From: Michał Tz <name [email protected]>

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?= <[email protected]>

git show
Author: Michał Tz <[email protected]>

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

Reply via email to