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

[PATCH] format-patch: Update the `-3` example

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Aug 21, 2010, 09:26 UTC
Message-ID
<1282382819-25097-1-git-send-email-artagnon@gmail.com>

In the EXAMPLES section, `git-format-patch -3` doesn't work anymore. Update it to read `git format-patch HEAD~3`. The example was introduced in 7c49628 and had not been updated since.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
 Documentation/git-format-patch.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index 4b3f5ba..2a44472 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -271,7 +271,7 @@ use it only when you know the recipient uses git to apply your patch.
 as e-mailable patches:
 +
 ------------
-$ git format-patch -3
+$ git format-patch HEAD~3
 ------------
 
 SEE ALSO
-- 
1.7.2.2.409.gdbb11.dirty
Next: Jakub Narebski
Message 1 of 7 in “format-patch: Update the `-3` example”
  1. format-patch: Update the `-3` exampleRamkumar Ramachandra, Aug 21, 2010
  2. Jakub NarebskiAug 21, 2010
  3. Ramkumar RamachandraAug 21, 2010
  4. Ramkumar RamachandraAug 21, 2010
  5. Johannes SixtAug 21, 2010
  6. Jakub NarebskiAug 21, 2010
  7. Ramkumar RamachandraAug 21, 2010

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.