mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +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:
parent
382da4023f
commit
7e93d3b9e5
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue