1
0
mirror of https://github.com/git/git.git synced 2025-04-17 19:15:25 +00:00

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>
This commit is contained in:
Felipe Contreras 2009-11-26 21:12:00 +02:00 committed by Junio C Hamano
parent 382da4023f
commit 7e93d3b9e5

@ -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