Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCHv2 3/3] format-patch: --numbered-files and --stdout aren't mutually exclusive

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:26

Stephen Boyd [off-list ref] writes:
For example:

    git format-patch --numbered-files --stdout --attach HEAD~~

will create two messages with files 1 and 2 attached respectively.
There is no effect when using --numbered-files and --stdout together
without an --attach or --inline, the files simply aren't created.
Hmm, "the files aren't created" is true, but I had to scratch my head if
you are describing a bug or justifying the change by saying "so filename
does not matter".

I think the change makes sense.  It could be argued that combination of
these two options should give a warning("ignoring --numbered"), but I do
not think it is even worth it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help