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

Re: get_maintainer.pl sends bogus addresses to git send-email

From
Jeff King <peff@peff.net>
Date
Apr 7, 2020, 17:02 UTC
Message-ID
<20200407170257.GA1844923@coredump.intra.peff.net>
In-Reply-To
<20200407154046.GA15368@aepfle.de>
On Tue, Apr 07, 2020 at 05:40:46PM +0200, Olaf Hering wrote:
Show 9 quoted lines
> For me sending patches via git send-email fails because email address
> conversion is failing. Something appends a ')' to x86/lkml@kernel.org.
> I suspect the double '))' in MAINTAINERS is confusing the command.
> I tried to send the trivial patch from v5.0 and v5.6 tag.
> 
> Is this a failure in ./scripts/get_maintainer.pl,
> or is this something git does internally?
> I'm sure others use such command on a daily basis, so likely something on
> my end became broken at some point in the past.

It's a bug in send-email's hand-rolled address parser, which was fixed in bd869f67b9 (send-email: add and use a local copy of Mail::Address, 2018-01-05). Upgrade to Git v2.17.0 or newer.

-Peff
Previous: Olaf HeringNext: Joe Perches
Message 2 of 8 in “get_maintainer.pl sends bogus addresses to git send-email”
  1. Olaf HeringApr 7, 2020
  2. Jeff KingApr 7, 2020
  3. Joe PerchesApr 7, 2020
  4. Olaf HeringApr 7, 2020
  5. Joe PerchesApr 7, 2020
  6. Jeff KingApr 7, 2020
  7. Joe PerchesApr 7, 2020
  8. Jeff KingApr 8, 2020

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.