git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Miebach <christoph.miebach@web.de>
To: git@vger.kernel.org
Subject: Re: bug (?) in send email
Date: Mon, 30 Jul 2012 12:38:00 +0200	[thread overview]
Message-ID: <50166408.8000008@web.de> (raw)
In-Reply-To: <50145A90.1090904@web.de>

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_1911@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.ADDRESS@mail.com --suppress-cc=author
> patches/0001-Test.patch
>
> But checking my inbox now shows an email starting with:
> From: Michał Tz <name 1911@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_1911@some.com>
>
> git show
> Author: Michał Tz <name_1911@some.com>

  reply	other threads:[~2012-07-30 10:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-28 21:33 bug (?) in send email Christoph Miebach
2012-07-30 10:38 ` Christoph Miebach [this message]
2012-07-30 12:30   ` Thomas Rast
2012-07-30 15:38     ` Junio C Hamano
2012-07-30 16:34       ` Jeff King
2012-07-30 16:32     ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50166408.8000008@web.de \
    --to=christoph.miebach@web.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).