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

Re: git am should recognize >From

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Sep 19, 2010, 14:32 UTC
Message-ID
<AANLkTinOa+s-28PYXHhtKr_POu2D33ibfgKDKk4Wqi=9@mail.gmail.com>
In-Reply-To
<AANLkTin_5qzDkMU_1stYZcJpfW-W7K0kxy=0K2dA7SwO@mail.gmail.com>
Russ Allbery wrote:
> I process a lot of git format-patch patches as attachments,
Aside: it seems that many format-patch users are not using it to
generate an mbox with a template message, as originally intended;
instead, they just write a cover letter and attach the generated
patches to it. Are we not advertising the "am --scissors" facility[1]
well enough?

Maybe format-patch could provide another mode to produce patches that do not include unnecessary headers (in particular, leaving out the difficult "From " line and using UTF-8 instead of quoted-printable for the "From: " line).

All that is irrelevant to the "git am" feature suggestion, of course.

Thanks for a reminder, Jonathan

[1]
 > lorem ipsum etc etc
 ... reply as usual ...
 ...
 How about this patch?
 -- 8< --
 From: Patch Author <au.thor@example.com>
 Subject: foo: do "bar" better
 patch description
 ---
 ... patch ...
Previous: Jonathan NiederNext: Russ Allbery
Message 2 of 10 in “Re: git am should recognize >From”
  1. Jonathan NiederSep 19, 2010
  2. Jonathan NiederSep 19, 2010
  3. Russ AllberySep 19, 2010
  4. Make format-patch produce UTF-8 `From:' header (was Re: git am should recognize >From)Štěpán Němec, Sep 19, 2010
  5. Russ AllberySep 19, 2010
  6. use base64 instead of quoted-printable in format-patch headers (was Re: Make format-patch produce UTF-8 `From:' header)Štěpán Němec, Sep 20, 2010
  7. Ævar Arnfjörð BjarmasonSep 20, 2010
  8. Brandon CaseySep 20, 2010
  9. Štěpán NěmecSep 20, 2010
  10. Erik Faye-LundSep 19, 2010

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.