@matheusbsbs / matheus-bagliano / commits / 7e93d3b9e5
Fork 0

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>

Felipe Contreras committed Nov 26, 2009 at 21:12 UTC 7e93d3b9e58a359a1073460e8f2cb3fef0368bd7
1 file changed +5
t/t4014-format-patch.sh
+5
@@ -515,4 +515,9 @@ test_expect_success 'format-patch --signoff' '
515 grep "^Signed-off-by: $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL>"
516 '
517
518 +test_expect_success 'format-patch -- <path>' '
519 + git format-patch master..side -- file 2>error &&
520 + ! grep "Use .--" error
521 +'
522 +
523 test_done