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

Re: Why do we need [PATCH]?

From
Junio C Hamano <junkio@cox.net>
Date
Dec 16, 2005, 21:27 UTC
Message-ID
<7vpsnwenqy.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20051216210145.GA25311@mars.ravnborg.org>
Sam Ravnborg <sam@ravnborg.org> writes:
> I looked at the source and found the -k option, but adding [PATCH]
> should not be default behaviour so this is not the correct solution.

The "correct" solution depends on where you come from. That extra [PATCH] is a carryover from BK days, I was told by Linus, to make e-mailed things stand out --- I've never used BK but I am guessing that things were not as obvious as our commit messages, perhaps? We have "Author/Committer" distinction so the [PATCH] marker is redundant.

The rewrite, "git-am" does not bother with adding [PATCH], but the original "git-applymbox", being everyday Linus' tool, was left as it was, not to disrupt the workflow of Linus.

Previous: Brian GerstNext: Sam Ravnborg
Message 4 of 5 in “Why do we need [PATCH]?”
  1. Sam RavnborgDec 16, 2005
  2. Dave JonesDec 16, 2005
  3. Brian GerstDec 16, 2005
  4. Junio C HamanoDec 16, 2005
  5. Sam RavnborgDec 16, 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.