diff options
author | Stephen Boyd <bebarino@gmail.com> | 2009-03-23 05:14:06 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-23 07:46:02 +0300 |
commit | 747e25050bfef8f3a7c882954b654cf6d97fc63e (patch) | |
tree | abb4e83e574c2eb061b4fdc14efb7ddc72301686 /t/t4013-diff-various.sh | |
parent | 108dab2811701c20d6d6e8d9fe8af88e41d65d77 (diff) |
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>
Diffstat (limited to 't/t4013-diff-various.sh')
-rwxr-xr-x | t/t4013-diff-various.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4013-diff-various.sh b/t/t4013-diff-various.sh index 6592a4f29d..8b33321f8c 100755 --- a/t/t4013-diff-various.sh +++ b/t/t4013-diff-various.sh @@ -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 |