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

[PATCH] Documentation: format-patch has no --mbox option

From
Frank Lichtenheld <frank@lichtenheld.de>
Date
May 14, 2007, 14:44 UTC
Message-ID
<11791538941530-git-send-email-frank@lichtenheld.de>
In-Reply-To
<1179153893715-git-send-email-frank@lichtenheld.de>

git-applymbox and git-mailinfo refer to a --mbox option of git-format-patch. But there is no such option AFAICT. mbox output can produced with format-patch --stdout.

This patch only replaces --mbox with --stdout. Some further explanation and/or format-patch arguments (e.g. -k) might be needed.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
---
 Documentation/git-applymbox.txt |    2 +-
 Documentation/git-mailinfo.txt  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-applymbox.txt b/Documentation/git-applymbox.txt
index 3bc92d8..761ca3e 100644
--- a/Documentation/git-applymbox.txt
+++ b/Documentation/git-applymbox.txt
@@ -31,7 +31,7 @@ OPTIONS
 	whitespaces, (3) '[' up to ']', typically '[PATCH]', and
 	then prepends "[PATCH] ".  This flag forbids this
 	munging, and is most useful when used to read back 'git
-	format-patch --mbox' output.
+	format-patch --stdout' output.
 
 -m::
 	Patches are applied with `git-apply` command, and unless
diff --git a/Documentation/git-mailinfo.txt b/Documentation/git-mailinfo.txt
index ba18133..d49eee9 100644
--- a/Documentation/git-mailinfo.txt
+++ b/Documentation/git-mailinfo.txt
@@ -30,7 +30,7 @@ OPTIONS
 	whitespaces, (3) '[' up to ']', typically '[PATCH]', and
 	then prepends "[PATCH] ".  This flag forbids this
 	munging, and is most useful when used to read back 'git
-	format-patch --mbox' output.
+	format-patch --stdout' output.
 
 -u::
 	The commit log message, author name and author email are
-- 
1.5.1.4
Previous: Frank LichtenheldNext: Junio C Hamano
Message 3 of 9 in “Some misc Documentation patches”
  1. Frank LichtenheldMay 14, 2007
  2. builtin-log.c: Fix typo in commentFrank Lichtenheld, May 14, 2007
  3. Documentation: format-patch has no --mbox optionFrank Lichtenheld, May 14, 2007
  4. Junio C HamanoMay 15, 2007
  5. Junio C HamanoMay 15, 2007
  6. git-am: Clean up the asciidoc documentationFrank Lichtenheld, May 14, 2007
  7. Junio C HamanoMay 15, 2007
  8. Frank LichtenheldMay 15, 2007
  9. Junio C HamanoMay 15, 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.