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

Re: [PATCH] Add the --numbered-files option to git-format-patch.

From
Junio C Hamano <junkio@cox.net>
Date
Jun 6, 2007, 07:50 UTC
Message-ID
<7vps497c8u.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1181074013.2585.14.camel@ld0161-tx32>
Jon Loeliger <jdl@freescale.com> writes:
Show 6 quoted lines
> With this option, git-format-patch will generate simple
> numbered files as output instead of the default using
> with the first commit line appended.
>
> This simplifies the ability to generate an MH-style
> drafts folder with each message to be sent.
I'll take the patch but wouldn't something like:
	git-format-patch --stdout $args |
        FILENO=7 formail -s sh -c 'cat >.junk/$FILENO'
be equivalent to
	git-format-patch -o .junk/ --numbered-files --start-number=7 $args
and more flexible?
Previous: Jon Loeliger
Message 2 of 2 in “Add the --numbered-files option to git-format-patch.”
  1. Add the --numbered-files option to git-format-patch.Jon Loeliger, Jun 5, 2007
  2. Junio C HamanoJun 6, 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.