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

Re: forcing an in-body From header

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 26, 2022, 17:20 UTC
Message-ID
<xmqqo7w6yl8y.fsf@gitster.g>
In-Reply-To
<20220826164828.cxsveqtjiyimdj7s@meerkat.local>
Konstantin Ryabitsev <konstantin@linuxfoundation.org> writes:
Show 5 quoted lines
> I agree that it's a nice feature to have, though I would put this into the
> sendemail config instead of using an env variable, something like:
>
>     [sendemail]
>       in-body-headers = From
A change only for send-email does sound quite attractive.

I encourage folks to run format-patch first, make amends as needed in the output files, proofread the result once again, all before finally handing it to send-email for sending out. If a "force in-body headers" command line option plus a configuration variable added to "git send-email" would work for them, I would be OK with such a change.

There may be folks who do not use "git send-email" to send out their patches, and a change to "git format-patch" may help them, though.

Thanks.
Previous: Konstantin RyabitsevNext: Rasmus Villemoes
Message 3 of 5 in “forcing an in-body From header”
  1. Rasmus VillemoesAug 26, 2022
  2. Konstantin RyabitsevAug 26, 2022
  3. Junio C HamanoAug 26, 2022
  4. Rasmus VillemoesAug 29, 2022
  5. Junio C HamanoAug 26, 2022

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.