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

Re: git-send-email vs address syntax

From
Junio C Hamano <junkio@cox.net>
Date
May 3, 2007, 06:25 UTC
Message-ID
<7v8xc62zky.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<CFF307C98FEABE47A452B27C06B85BB6030BDEAF@hdsmsx411.amr.corp.intel.com>
"Brown, Len" <len.brown@intel.com> writes:
> I don't know if the fix should be in the git-am script
> which set the From: field, or in the git-format-patch
> script which takes that field and makes it into
> an e-mail message.

The fix should be in send-email script, as COMMITTER_NAME and AUTHOR_NAME are just simple strings without RFC2822 limitation (such as necessity of quoting a ".").

As a matter of fact, recent enough send-email is supposed to have a fix for this exact problem. If your copy of send-email does not have

	sub sanitize_address_rfc822 {

you might want to upgrade. Both 1.5.2-rc1 and 1.5.1.3 have this.

Previous: Brown, LenNext: Brown, Len
Message 2 of 3 in “git-send-email vs address syntax”
  1. Brown, LenMay 3, 2007
  2. Junio C HamanoMay 3, 2007
  3. Brown, LenMay 3, 2007

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.