summaryrefslogtreecommitdiff
path: root/t/t4014-format-patch.sh
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-11-26 19:12:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-11-27 05:23:55 (GMT)
commit7e93d3b9e58a359a1073460e8f2cb3fef0368bd7 (patch)
tree8d40ae4661336d268544987b885d4bdd54b6ca23 /t/t4014-format-patch.sh
parent382da4023f155eabdda58ebd595a1e142408a56d (diff)
downloadgit-7e93d3b9e58a359a1073460e8f2cb3fef0368bd7.zip
git-7e93d3b9e58a359a1073460e8f2cb3fef0368bd7.tar.gz
git-7e93d3b9e58a359a1073460e8f2cb3fef0368bd7.tar.bz2
format-patch: add test for parsing of "--"
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4014-format-patch.sh')
-rwxr-xr-xt/t4014-format-patch.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh
index 531f5b7..437807e 100755
--- a/t/t4014-format-patch.sh
+++ b/t/t4014-format-patch.sh
@@ -515,4 +515,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