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

Re: [PATCH] Teach applymbox to keep the Subject: line.

From
Linus Torvalds <torvalds@osdl.org>
Date
Aug 17, 2005, 19:56 UTC
Message-ID
<Pine.LNX.4.58.0508171253190.3553@g5.osdl.org>
In-Reply-To
<430375B3.3050307@pobox.com>
On Wed, 17 Aug 2005, Jeff Garzik wrote:
> 
> 1) Fix applymbox such that it understands RFC822-valid Subject lines 
> which wrap across multiple text lines.
It already should do this.
> 2) Teach it to understand MIME, and not treat the MIME headers like part 
> of the message.
But this one I really realyl disagree with.

The fact is, anybody who doesn't edit the emails that come in is BROKEN. There are two kinds of emails:

 - the nicely formatted ones where the author follows all the rules
   This kind of email doesn't need MIME decoding anyway.
 - the others
   This kind might need MIME decoding, but since it _also_ needs 
   hand-editing to remove all the "Hi, please apply this patch" etc crud
   that inevitably go along with this kind of patch, trying to handle it 
   automatically is WRONG WRONG WRONG.
   And if it's mime-encoded you often have trouble editing it anyway.
Ergo: if somebody sends you mime-encoded patches, hit them with a baseball 
bat (politely) and teach them not to do that. "Fixing" the tools really 
will just make things worse if it means that you apply raw emails without 
having edited them.
		Linus
Previous: Junio C HamanoNext: Junio C Hamano
Message 12 of 15 in “Re: [RFC] Patches exchange is bad?”
  1. Marco CostalbaAug 16, 2005
  2. git-format-patch fixJunio C Hamano, Aug 16, 2005
  3. Teach applymbox to keep the Subject: line.Junio C Hamano, Aug 17, 2005
  4. Linus TorvaldsAug 17, 2005
  5. Sam RavnborgAug 18, 2005
  6. Linus TorvaldsAug 18, 2005
  7. Junio C HamanoAug 19, 2005
  8. Add hooks to tools/git-applypatch.Junio C Hamano, Aug 19, 2005
  9. Junio C HamanoAug 19, 2005
  10. Jeff GarzikAug 17, 2005
  11. Junio C HamanoAug 17, 2005
  12. Linus TorvaldsAug 17, 2005
  13. Junio C HamanoAug 17, 2005
  14. Johannes SchindelinAug 17, 2005
  15. David KågedalAug 18, 2005

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.