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

git-format-patch little gripe

From
LTLuben Tuikov <ltuikov@yahoo.com>
Date
Nov 3, 2006, 09:07 UTC
Message-ID
<376237.14965.qm@web31805.mail.mud.yahoo.com>

Yep, after more than a year, I simply cannot get used to it... http://marc.theaimsgroup.com/?l=git&m=113259043217761&w=2 And as I've seen, other people brought that up too.

My brain simply says:
`` "git-format-patch" is singular and so the SHA-1 specified
   on the command line should generate a _single_ patch.''
Yeah, but no.
So I still make the mistake of:
# git-rev-list --no-merges --pretty=one-line HEAD -- <somepath>
    I select a commit
# git-format-patch -o /tmp/ <commit>
...
    Oh, f@#$!  <CTRL-C>
# git-format-patch -o /tmp/ <commit>^..<commit>

Is there a chance to make "git-format-patch" output a single patch? of that commit only?

    Luben
P.S. And let "git-format-patches" go wild with the ideologies...
Sorry, needed to vent as I made this mistake twice already
today...
Next: Jeff King
Message 1 of 6 in “git-format-patch little gripe”
  1. Luben TuikovNov 3, 2006
  2. Jeff KingNov 3, 2006
  3. Luben TuikovNov 3, 2006
  4. SeanNov 25, 2006
  5. Jeff KingNov 25, 2006
  6. SeanNov 25, 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.