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

Re: MIME headers in introductory message (git send-email --compose)

From
Jeff King <peff@peff.net>
Date
Mar 25, 2008, 22:07 UTC
Message-ID
<20080325220743.GA5248@coredump.intra.peff.net>
In-Reply-To
<20080325215614.GA5189@coredump.intra.peff.net>
On Tue, Mar 25, 2008 at 05:56:14PM -0400, Jeff King wrote:
> We could be more clever about parsing format.headers and mark the "we
> have already added MIME" flag (I think we already have to do such
> parsing because of to/cc magic). But I have to wonder what the real goal

I started on this out of curiosity, and it _is_ really simple, but it's also wrong. It can't be right to set your MIME headers statically because some options (like --attach) might cause us to have to put in _different_ MIME headers. So we are left with either conflicting headers, disallowing --attach, ignoring some of your format.headers, or possibly picking out those headers and making them part of the header of that patch part of the multipart. All of which seem a bit ugly to me.

If this is something people really want, I think just adding an "always add mime headers" option makes the most sense.

-Peff
Previous: Jeff KingNext: Jeff King
Message 22 of 25 in “Add MIME information to outgoing email”
  1. Add MIME information to outgoing emailSamuel Tardieu, Mar 13, 2008
  2. Jeff KingMar 13, 2008
  3. Samuel TardieuMar 13, 2008
  4. Jeff KingMar 14, 2008
  5. Samuel TardieuMar 14, 2008
  6. Jeff KingMar 14, 2008
  7. Samuel TardieuMar 14, 2008
  8. Jeff KingMar 14, 2008
  9. Samuel TardieuMar 14, 2008
  10. Junio C HamanoMar 14, 2008
  11. Re* [PATCH] Add MIME information to outgoing emailJunio C Hamano, Mar 14, 2008
  12. Jeff KingMar 14, 2008
  13. Junio C HamanoMar 13, 2008
  14. Samuel TardieuMar 13, 2008
  15. Brian SwetlandMar 14, 2008
  16. Samuel TardieuMar 14, 2008
  17. MIME headers in introductory message (git send-email --compose)Teemu Likonen, Mar 25, 2008
  18. Jay SoffianMar 25, 2008
  19. Junio C HamanoMar 25, 2008
  20. Jay SoffianMar 25, 2008
  21. Jeff KingMar 25, 2008
  22. Jeff KingMar 25, 2008
  23. Jeff KingMar 25, 2008
  24. Jay SoffianMar 26, 2008
  25. Jan HudecApr 10, 2008

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.