Skip to content

Commit 7e93d3b

Browse files
felipecgitster
authored andcommitted
format-patch: add test for parsing of "--"
Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 382da40 commit 7e93d3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/t4014-format-patch.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,4 +515,9 @@ test_expect_success 'format-patch --signoff' '
515515
grep "^Signed-off-by: $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL>"
516516
'
517517

518+
test_expect_success 'format-patch -- <path>' '
519+
git format-patch master..side -- file 2>error &&
520+
! grep "Use .--" error
521+
'
522+
518523
test_done

0 commit comments

Comments
 (0)