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

Re: git-format-patch little gripe

From
Junio C Hamano <junkio@cox.net>
Date
Nov 3, 2006, 22:26 UTC
Message-ID
<7v3b905fqi.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20061103195253.9244.qmail@web31814.mail.mud.yahoo.com>
Luben Tuikov <ltuikov@yahoo.com> writes:
> Also I doubt how many people actually have coded in their scripts
> "git-format-patch <sha-1>" to mead by default "<sha-1>..HEAD" -- I'd think
> that maintainers always want to know the "end point" and would always
> use the <a>..<b> format, instead of presuming where/what their HEAD is.
Well, the answer would be "do not script around Porcelain".
> Sorry it's my rant.  I know it's not your fault.

I do not even think there is any "fault" there, to be honest, so there is no need to apologize. The format-patch command does what it was designed to do and does it well -- format a sequence of patches for upstream submission.

If you want a single patch, you can always say "git show", by the way.

Previous: Jakub NarebskiNext: Carl Worth
Message 8 of 13 in “Re: git-format-patch little gripe”
  1. Martin LanghoffNov 3, 2006
  2. Luben TuikovNov 3, 2006
  3. Junio C HamanoNov 3, 2006
  4. Carl WorthNov 3, 2006
  5. Jakub NarebskiNov 3, 2006
  6. Luben TuikovNov 3, 2006
  7. Jakub NarebskiNov 3, 2006
  8. Junio C HamanoNov 3, 2006
  9. Carl WorthNov 3, 2006
  10. Jeff KingNov 3, 2006
  11. Jakub NarebskiNov 3, 2006
  12. Linus TorvaldsNov 4, 2006
  13. Jakub NarebskiNov 4, 2006

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.