X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft4021-format-patch-numbered.sh;h=709b3231ca8d9da631727b4aadfb2f46049d37e9;hb=bce2c9ae9ff458b6090953ab9f639255f757a104;hp=3c27f0dc19648e6c21ff4b1702f3e93f4b64755e;hpb=86079872238041fa0e2aa6b8a94f7881f88e4316;p=git.git diff --git a/t/t4021-format-patch-numbered.sh b/t/t4021-format-patch-numbered.sh index 3c27f0dc1..709b3231c 100755 --- a/t/t4021-format-patch-numbered.sh +++ b/t/t4021-format-patch-numbered.sh @@ -86,6 +86,13 @@ test_expect_success 'format.numbered && --no-numbered' ' ' +test_expect_success 'format.numbered && --keep-subject' ' + + git format-patch --keep-subject --stdout HEAD^ >patch4a && + grep "^Subject: Third" patch4a + +' + test_expect_success 'format.numbered = auto' ' git config format.numbered auto