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

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

From
Junio C Hamano <junkio@cox.net>
Date
May 15, 2007, 00:20 UTC
Message-ID
<7vveevkkdc.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7v8xbrlzqk.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 14 quoted lines
> Frank Lichtenheld <frank@lichtenheld.de> writes:
>
>> 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.
>
> I would agree.  "Reads single mbox with one or more patches in
> it, without munging the subject line" is what it really does, so
> we obviously mean "--stdout -k >mbox" here.

Come to think of it, "no munging of Subject lines" is orthogonal to the number of patches in a file, so it should say that the option corresponds to -k in format-patch, I think.

So, I think we can just do s/--mbox/-k/, instead of s/--mbox/--stdout/ which is what you did.

Previous: Junio C HamanoNext: Frank Lichtenheld
Message 5 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.