diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-12-03 13:54:25 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-03 13:54:25 -0800 |
commit | c8b1d761f61c4be0b036620ba418ff0e97979fde (patch) | |
tree | 45bb20243c75d8fbc3a39c3bf401f9e6f53ec0b3 /t | |
parent | 99292c638a5c011ce453c904357185d9f6c7dd62 (diff) | |
parent | 7e93d3b9e58a359a1073460e8f2cb3fef0368bd7 (diff) | |
download | git-c8b1d761f61c4be0b036620ba418ff0e97979fde.tar.gz git-c8b1d761f61c4be0b036620ba418ff0e97979fde.tar.xz |
Merge branch 'fc/maint-format-patch-pathspec-dashes' into maint
* fc/maint-format-patch-pathspec-dashes:
format-patch: add test for parsing of "--"
format-patch: fix parsing of "--" on the command line
Diffstat (limited to 't')
-rwxr-xr-x | t/t4014-format-patch.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh index cab6ce2e9..74e5b63bb 100755 --- a/t/t4014-format-patch.sh +++ b/t/t4014-format-patch.sh @@ -536,4 +536,9 @@ test_expect_success 'format-patch --signoff' ' grep "^Signed-off-by: $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL>" ' +test_expect_success 'format-patch -- <path>' ' + git format-patch master..side -- file 2>error && + ! grep "Use .--" error +' + test_done |