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

Re: git-send-email generates mail with invalid Message-Id

From
Erik Faye-Lund <kusmabite@googlemail.com>
Date
Jul 28, 2009, 09:51 UTC
Message-ID
<40aa078e0907280251k159d9a93xa8c90413b3fab5a@mail.gmail.com>
In-Reply-To
<200907281127.44558.trast@student.ethz.ch>
On Tue, Jul 28, 2009 at 11:27 AM, Thomas Rast<trast@student.ethz.ch> wrote:
Show 15 quoted lines
> Erik Faye-Lund wrote:
>> On Tue, Jul 28, 2009 at 4:46 AM, Frans Pop<elendil@planet.nl> wrote:
>> > I assume that this is a configuration issue in the git setup of the
>> > sender, but shouldn't git-send-email refuse to send out messages with an
>> > invalid Message-Id?
>>
>> Not quite. git-send-email generates these message-ids itself (those
>> who contain "-git-send-email-", that is), and should as such be able
>> to rely on them being generated correctly. [...]
>> I'm no perl-expert, but the code looks pretty much correct to me.
>
> git-format-patch generates its own message IDs if it needs them for
> threading, with gen_message_id() (in builtin-log.c).  That one appends
> the committer email address blindly, without verifying that it has an
> @ in it.

That must be a separate issue (but quite possibly a valid one), since gen_message_id's ids dont' contain "-send-email-" like the message-id in the report does, no?

-- 
Erik "kusma" Faye-Lund
kusmabite@gmail.com
(+47) 986 59 656
Previous: Thomas RastNext: Thomas Rast
Message 4 of 13 in “git-send-email generates mail with invalid Message-Id”
  1. Frans PopJul 28, 2009
  2. Erik Faye-LundJul 28, 2009
  3. Thomas RastJul 28, 2009
  4. Erik Faye-LundJul 28, 2009
  5. Thomas RastJul 28, 2009
  6. Frans PopJul 28, 2009
  7. Frans PopJul 28, 2009
  8. Nicolas SebrechtJul 28, 2009
  9. Frans PopJul 28, 2009
  10. Nicolas SebrechtJul 28, 2009
  11. Erik Faye-LundJul 28, 2009
  12. Erik Faye-LundJul 28, 2009
  13. Nicolas SebrechtJul 28, 2009

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.