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

Re: [PATCH 0/2] format-patch handling in-body From headers

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 3, 2013, 08:58 UTC
Message-ID
<7vd2r0ggup.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20130703070719.GA17638@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> However, doing it right is kind of tricky due to rfc822 quoting, rfc2047
> encoding, and handling non-ascii names correctly. Instead, this patch
> series takes a different approach: it teaches format-patch to do the
> transformation itself, so that it can be used by my script along with
> any other non-send-email workflows that exist (e.g., git-imap-send
> suffers from the same problem).

I think the original expectation when format-patch was done was to use Sender: to identify you while keeping the author on From:, but with the current world order to use in-body header, this addition makes sense.

I wonder if we can lose some code from send-email then?
Previous: Eric SunshineNext: Jeff King
Message 5 of 6 in “format-patch handling in-body From headers”
  1. 0/2 format-patch handling in-body From headersJeff King, Jul 3, 2013
  2. 1/2 pretty.c: drop const-ness from pretty_print_contextJeff King, Jul 3, 2013
  3. 2/2 teach format-patch to place other authors into in-body "From"Jeff King, Jul 3, 2013
  4. Eric SunshineJul 3, 2013
  5. Junio C HamanoJul 3, 2013
  6. Jeff KingJul 3, 2013

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.