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.