format-patch: --numbered-files and --stdout aren't mutually exclusive
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>
This commit is contained in:

committed by
Junio C Hamano

parent
108dab2811
commit
747e25050b
@ -251,7 +251,7 @@ format-patch --attach --stdout initial..master^
|
||||
format-patch --attach --stdout initial..master
|
||||
format-patch --inline --stdout initial..side
|
||||
format-patch --inline --stdout initial..master^
|
||||
format-patch --inline --stdout initial..master
|
||||
format-patch --inline --stdout --numbered-files initial..master
|
||||
format-patch --inline --stdout initial..master
|
||||
format-patch --inline --stdout --subject-prefix=TESTCASE initial..master
|
||||
config format.subjectprefix DIFFERENT_PREFIX
|
||||
|
Reference in New Issue
Block a user