git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: bug (?) in send email

From
CMChristoph Miebach <christoph.miebach@web.de>
Date
Jul 30, 2012, 10:38 UTC
Message-ID
<50166408.8000008@web.de>
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:
Show 37 quoted lines
> 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>
Previous: Christoph MiebachNext: Thomas Rast
Message 2 of 6 in “bug (?) in send email”
  1. Christoph MiebachJul 28, 2012
  2. Christoph MiebachJul 30, 2012
  3. Thomas RastJul 30, 2012
  4. Junio C HamanoJul 30, 2012
  5. Jeff KingJul 30, 2012
  6. Jeff KingJul 30, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.