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

Re: [PATCH 0/2] packfile URIs: support concurrent downloads

From
Taylor Blau <ttaylorr@openai.com>
Date
Jul 14, 2026, 02:42 UTC
Message-ID
<alWiEXbP5vOcCJ7F@com-79390>
In-Reply-To
<alVs4JO9BNQrXsnO@com-76773>
On Mon, Jul 13, 2026 at 03:55:28PM -0700, Ted Nyman wrote:
Show 10 quoted lines
> > And "b4 am" seems to be having problem grabbing the patchset X-<.
>
> Sorry for the noise -- Mutt rewrote the original cover-letter
> Message-ID. The patches reference the corrected cover:
>
>   https://lore.kernel.org/git/cover.1783982021.git.tnyman@openai.com/
>
> I confirmed that this retrieves both patches:
>
>   b4 am cover.1783982021.git.tnyman@openai.com

This is a mistake on my end as I was porting over some of the scripts for sending patches to the mailing list to OpenAI's infrastructure.

The short version of this e-mail is that the issue is fixed. But the longer version is funny (at least to me), so I figured I would share.

As some background, my workflow for sending patches to the mailing list is to use a script called 'git mail' that effectively runs format-patch to build an *.mbox and then opens Mutt in that directory. I then review the patches one last time before sending, and then run a macro I have bound to 'B', which (effectively) runs <resend-message>.

For reasons that I cannot quite recall, I chose this workflow many years ago when it would likely have been more appropriate to use `mutt -H`, which does *not* rewrite Message-ID headers when resending.

To work around this, I wrote a patch that I applied to the version of Mutt I used both on my old work laptop as well as the Linux workstation where I did the majority of my work. The patch is fairly small, and is effectively:

--- 8< ---
diff --git a/postpone.c b/postpone.c
index f557976d..accbb4f6 100644
--- a/postpone.c
+++ b/postpone.c
@@ -607,13 +607,9 @@ int mutt_prepare_template (FILE *fp, CONTEXT *ctx, HEADER *newhdr, HEADER *hdr,
   newhdr->content->length = hdr->content->length;
   mutt_parse_part (fp, newhdr->content);

-  /* If resending a message, don't keep message_id or mail_followup_to.
-   * Otherwise, we are resuming a postponed message, and want to keep those
-   * headers if they exist.
-   */
+  /* If resending a message, don't keep mail_followup_to. */
   if (resend)
   {
-    FREE (&newhdr->env->message_id);
     FREE (&newhdr->env->mail_followup_to);
   }

--
2.26.0.106.g9fadedd637
--- >8 ---

(The Git version this patch was prepared with should give you some sense
of how ancient this part of my workflow is ;-).)

When looking at this yesterday after sending the 'no-ref-delta' patches
to the list, I could not figure out quite why my Mutt client was
rewriting Message-ID headers until I remembered the aforementioned
patch.

The fix is somewhat OpenAI-specific, and so not interesting to share
with the list, but effectively relies on piping messages to 'mutt -H -'
to send the message without dropping (and thus rewriting) the Message-ID
header.

(As an alternative, I could have continued to carry that patch to
'postpone.c', but in retrospect it seems gross^W unnecessary, so I
ditched it.)

Thanks,
Taylor
Previous: Ted NymanNext: Jeff King
Message 4 of 5 in “packfile URIs: support concurrent downloads”
  1. 0/2 packfile URIs: support concurrent downloadsTed Nyman, Jul 13, 2026
  2. Junio C HamanoJul 13, 2026
  3. Ted NymanJul 13, 2026
  4. Taylor BlauJul 14, 2026
  5. Jeff KingJul 14, 2026

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.