Subject: Re: bug (?) in send email

From: Christoph Miebach <[email-masked]>
Date: Mon, 30 Jul 2012 12:38:00 +0200

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