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

Re: [PATCH v2 0/2] format-patch: Transition the default to --from to avoid spoofed mails

From
Jeff King <peff@peff.net>
Date
Aug 1, 2016, 17:47 UTC
Message-ID
<20160801174724.m4ags4ag4ftwoafj@sigill.intra.peff.net>
In-Reply-To
<20160730191104.2ps5k7eji7aqgufg@x>
On Sat, Jul 30, 2016 at 12:11:05PM -0700, Josh Triplett wrote:
> Josh Triplett (2):
>   format-patch: Add a config option format.from to set the default for --from
>   format-patch: Default to --from

By the way, I notice that the threading between your patches and cover letter are broken. Since I see you are also working on a tool for handling such things, I'd suspect the tool (or your workflow) has a bug. :)

The message-id of this message is:
  <20160730191104.2ps5k7eji7aqgufg@x>
but the patches have both "References" and "In-Reply-To" set to:
  <cover.4d006cadf197f80d899ad7d7d56d8ba41f574adf.1469905775.git-series.josh@joshtriplett.org>

I also see your MUA is mutt, and I think I saw you mention using "mutt -H" elsewhere. IIRC, when I started using a similar workflow years ago, I tried the same thing and had the same problem: "-H" treats the input file as a template, not a message, and thus generates a new message-id.

I switched to using mutt's internal "resend-message" function, which does a more literal re-send. I don't think I ever found a way to convince mutt to do a resend from the command line.

-Peff
Previous: Josh TriplettNext: Josh Triplett
Message 5 of 10 in “format-patch: Add a config option format.from to set the default for --from”
  1. 1/2 format-patch: Add a config option format.from to set the default for --fromJosh Triplett, Jul 30, 2016
  2. Jeff KingJul 30, 2016
  3. Josh TriplettJul 30, 2016
  4. 0/2 format-patch: Transition the default to --from to avoid spoofed mailsJosh Triplett, Jul 30, 2016
  5. Jeff KingAug 1, 2016
  6. Josh TriplettAug 1, 2016
  7. Jeff KingAug 1, 2016
  8. Junio C HamanoAug 1, 2016
  9. Josh TriplettAug 8, 2016
  10. 2/2 format-patch: Default to --fromJosh Triplett, Jul 30, 2016

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.