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>maint
parent
382da4023f
commit
7e93d3b9e5
|
@ -515,4 +515,9 @@ test_expect_success 'format-patch --signoff' '
|
||||||
grep "^Signed-off-by: $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL>"
|
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
|
test_done
|
||||||
|
|
Loading…
Reference in New Issue