summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e0c4ff)
raw | patch | inline | side by side (parent: 3e0c4ff)
author | Thomas Rast <trast@student.ethz.ch> | |
Wed, 11 Mar 2009 22:40:13 +0000 (23:40 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 12 Mar 2009 03:54:42 +0000 (20:54 -0700) |
3e0c4ff (send-email: respect in-reply-to regardless of threading,
2009-03-01) fixed the handling of the In-Reply-To header when both
--no-thread and --in-reply-to are in effect. Add a test for it.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-03-01) fixed the handling of the In-Reply-To header when both
--no-thread and --in-reply-to are in effect. Add a test for it.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh | patch | blob | history |
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index d098a01ba30fa08ae696085164e7b77453f8715a..a404204b176670ef6e6f0692bdf0ffeb71f23b75 100755 (executable)
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
grep "^Subject: =?utf-8?q?utf8-s=C3=BCbj=C3=ABct?=" msgtxt1
'
+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