Subject: bug (?) in send email

From: Christoph Miebach <[email-masked]>
Date: Sat, 28 Jul 2012 23:33:04 +0200

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

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

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-masked]>

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