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

Re: [PATCH - todo] Changes to e-mailed patch handling in v1.5.0

From
Brian Gernhardt <benji@silverinsanity.com>
Date
Jan 18, 2007, 15:13 UTC
Message-ID
<00691964-B639-4EEA-968D-A6BB65DC3DC8@silverinsanity.com>
In-Reply-To
<200701180818.12372.andyparkins@gmail.com>
On Jan 18, 2007, at 3:18 AM, Andy Parkins wrote:
Show 14 quoted lines
> On Wednesday 2007 January 17 23:06, Junio C Hamano wrote:
>
>> I am neutral about changing the default suffix from .txt to .patch;
>> comments?
>
> I'm in favour.  The extension indicates file type, and gives  
> guidance on the
> tool that can read it. Though .patch is stored in text it's more  
> than that
> (c.f. .html) - the text inside it has meaning beyond just the text.
>
> To me, .txt would implies that the file format is in human-language  
> format
> (i.e. words, sentences, and paragraphs).
Ditto.

Also, Vim nicely detects the From <SHA1> line at the top and thinks that it's an mbox file. With the patch extension it ignores that and gives me my diff coloring again.

~~ Brian
Previous: Andy ParkinsNext: Shawn O. Pearce
Message 6 of 8 in “git-format-patch -3”
  1. git-format-patch -3Junio C Hamano, Jan 17, 2007
  2. Add --summary to git-format-patch by defaultJunio C Hamano, Jan 17, 2007
  3. git-format-patch: make --binary on by defaultJunio C Hamano, Jan 17, 2007
  4. Changes to e-mailed patch handling in v1.5.0Junio C Hamano, Jan 17, 2007
  5. Andy ParkinsJan 18, 2007
  6. Brian GernhardtJan 18, 2007
  7. Shawn O. PearceJan 18, 2007
  8. Johannes SchindelinJan 18, 2007

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.