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

Re: [RFC PATCH 3/3] format-patch: use a command to generate the output directory name

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 3, 2019, 00:57 UTC
Message-ID
<xmqqeezud4ss.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<431f8a4e372feccf240b9c66c91248a6f53eab47.1570051490.git.bert.wesarg@googlemail.com>
Bert Wesarg <bert.wesarg@googlemail.com> writes:
Show 8 quoted lines
> Having 'format.outputDirectory' is convenient, but being able to process
> all produced patches via a wildcard command is even more so. I.e.,
> using an argument like '<dir>/*'. Neither '-o' nor
> 'format.outputDirectory' can be parameterized to produce a new unique
> directory. Thus provide the new 'format.outputDirectoryCmd' configuration
> to specify a command which does the job and puts the name to standard
> output.
>

The above does not interest me (a reader) enough, without the log message explaining why

	git format-patch -o "$(outdircmd)"
is not sufficient.
Thanks.
Previous: Bert WesargNext: Denton Liu
Message 5 of 7 in “format-patch: document and exercise that -o does only create the trailing directory”
  1. 1/3 format-patch: document and exercise that -o does only create the trailing directoryBert Wesarg, Oct 2, 2019
  2. 2/3 format-patch: create output directory including leading componentsBert Wesarg, Oct 2, 2019
  3. Junio C HamanoOct 3, 2019
  4. 3/3 format-patch: use a command to generate the output directory nameBert Wesarg, Oct 2, 2019
  5. Junio C HamanoOct 3, 2019
  6. Denton LiuOct 2, 2019
  7. Bert WesargOct 3, 2019

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.