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

Re: [BUG] send-email propagates "In-Reply-To"

From
Marvin Häuser <mhaeuser@posteo.de>
Date
Aug 23, 2021, 21:47 UTC
Message-ID
<2412df60-f8ee-ab0f-08b2-20a0b6b641fa@posteo.de>
In-Reply-To
<YSPomC95hxZZTHRe@coredump.intra.peff.net>
On 23/08/2021 20:27, Jeff King wrote:
> But either that should go into its own patch, or the commit message
> should be modified to explain that it is covering not just
> in-reply-to/references, but we think this fixes all similar variables.
Fixed, opted for latter [1].
> You'd want something like the patch below (and possibly something
> similar for the $subject handling).

Thanks a lot! my last question for the patch would now be, how do I use your snippet? Do I add you to S-o-b of the single patch, do I split the patches with the second S-o-b being yours, or do I submit only the first and you will submit the second?

> Both of the new tests fail without your patch and pass with it, but:
>
>    - note the weird behavior I found with --in-reply-to; this is
>      something we might want to address at the same time

I think this case must error? The definition of the "--in-reply-to" does not declare it as a default, so it must be enforced (and it is), but it's also very unintuitive the file value is discarded. Who would decide the behaviour spec?

>    - applying your patch fails the earlier t9001.52 ("In-Reply-To without
>      --chain-reply-to"). I didn't dig into what's going on there.
Fixed [1].

Best regards, Marvin

[1] https://github.com/mhaeuser/git/commit/5f2ff790cc0d0d779bc252b08f9c9c632c4ff01c

Previous: Jeff KingNext: Carlo Marcelo Arenas Belón
Message 6 of 8 in “[BUG] send-email propagates "In-Reply-To"”
  1. Marvin HäuserAug 22, 2021
  2. Bagas SanjayaAug 22, 2021
  3. Jeff KingAug 23, 2021
  4. Marvin HäuserAug 23, 2021
  5. Jeff KingAug 23, 2021
  6. Marvin HäuserAug 23, 2021
  7. Carlo Marcelo Arenas BelónAug 24, 2021
  8. Jeff KingAug 25, 2021

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.