Code

Merge branch 'tr/maint-1.6.0-send-email-irt' into maint
[git.git] / t / t9001-send-email.sh
index 4df4f965cb0f2220ea9acf769c4fabf1248ab9a1..d7634187aaa82578dbabbccd6866319b40356854 100755 (executable)
@@ -455,4 +455,15 @@ test_expect_success 'feed two files' '
        test "z$(sed -n -e 2p subjects)" = "zSubject: [PATCH 2/2] add master"
 '
 
+test_expect_success 'in-reply-to but no threading' '
+       git send-email \
+               --dry-run \
+               --from="Example <nobody@example.com>" \
+               --to=nobody@example.com \
+               --in-reply-to="<in-reply-id@example.com>" \
+               --no-thread \
+               $patches |
+       grep "In-Reply-To: <in-reply-id@example.com>"
+'
+
 test_done