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

Re: ls-files and read-tree need core.filemode

From
Linus Torvalds <torvalds@osdl.org>
Date
Nov 8, 2005, 18:15 UTC
Message-ID
<Pine.LNX.4.64.0511081010510.3247@g5.osdl.org>
In-Reply-To
<7vacgfldry.fsf@assigned-by-dhcp.cox.net>
On Tue, 8 Nov 2005, Junio C Hamano wrote:
Show 5 quoted lines
> 
> Attachments are a bit cumbersome to quote but otherwise OK, at
> least for me.  Linus never admits it, but I am hoping that he is
> having a bit easier time applying e-mailed patches ever since
> rudimentally MIME attachment handling was added.

Actually, the MIME attachment support in git means that I have to remove the "Content-Type: .. boundary: " line too when editing emails.

I do all my patch validation in mbox format (which is why when you look at commit dates, you'll generally see a second or less between commits when I actually apply a mbox series), and the MIME format makes emails totally unreadable.

So I refuse to have anything to do with attachments and MIME types not because my tools couldn't apply the patches, but because I can't go through the patches manually sanely with them.

So I can do plain/text attachments, but they inevitably mean that I just have to edit the damn mailbox to make sense of it. Anything else (like base64-encoding or similar) I just refuse to touch.

			Linus
Previous: Alex Riesen
Message 4 of 4 in “ls-files and read-tree need core.filemode”
  1. Alex RiesenNov 8, 2005
  2. Junio C HamanoNov 8, 2005
  3. Alex RiesenNov 8, 2005
  4. Linus TorvaldsNov 8, 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.