format-patch: --numbered-files and --stdout aren't mutually exclusive
authorStephen Boyd <bebarino@gmail.com>
Mon, 23 Mar 2009 02:14:06 +0000 (19:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Mar 2009 04:46:02 +0000 (21:46 -0700)
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 --numbered-files option will be
ignored. Add a test to show this.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found