X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4014-format-patch.sh;h=3bc1cccf8869aef26e175e207dc2923d3ddb1e65;hb=66276d972c0682d49773c20ca67c33bdab9ab76d;hp=7f267f9ed1d888eeb4b3c780a048c7d09e29db3b;hpb=ba2c7476882ea56fcad298ef195b538ed7a7ad32;p=git.git diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh index 7f267f9ed..3bc1cccf8 100755 --- a/t/t4014-format-patch.sh +++ b/t/t4014-format-patch.sh @@ -552,4 +552,9 @@ test_expect_success 'format-patch --numstat should produce a patch' ' git format-patch --numstat --stdout master..side > output && test 6 = $(grep "^diff --git a/" output | wc -l)' +test_expect_success 'format-patch -- ' ' + git format-patch master..side -- file 2>error && + ! grep "Use .--" error +' + test_done