git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2] add a test case for threaded mails without chain-reply-to

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Jun 7, 2009, 17:12 UTC
Message-ID
<1244394750-30189-1-git-send-email-markus.heidelberg@web.de>
In-Reply-To
<1244388019-12763-1-git-send-email-markus.heidelberg@web.de>
---

--nochain-reply-to instead of --no-chain-reply-to

see commits 3fee1fe8 and 84eeb687: t9001: use older Getopt::Long boolean prefix '--no' rather than '--no-'

 t/t9001-send-email.sh |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index ce26ea4..4ccca44 100755
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
@@ -621,4 +621,15 @@ test_expect_success 'in-reply-to but no threading' '
 	grep "In-Reply-To: <in-reply-id@example.com>"
 '
 
+test_expect_failure 'threading but no chain-reply-to' '
+	git send-email \
+		--dry-run \
+		--from="Example <nobody@example.com>" \
+		--to=nobody@example.com \
+		--thread \
+		--nochain-reply-to \
+		$patches $patches |
+	grep "In-Reply-To: "
+'
+
 test_done
-- 
1.6.3.2.216.g24c61.dirty
Previous: Markus HeidelbergNext: Markus Heidelberg
Message 7 of 9 in “enhancements for the context menu of the Rev list”
  1. 0/4 enhancements for the context menu of the Rev listMarkus Heidelberg, Jun 6, 2009
  2. Markus HeidelbergJun 6, 2009
  3. 1/2 add a test case for threaded mails without chain-reply-toMarkus Heidelberg, Jun 7, 2009
  4. 2/2 send-email: fix threaded mails without chain-reply-toMarkus Heidelberg, Jun 7, 2009
  5. Junio C HamanoJun 7, 2009
  6. Markus HeidelbergJun 7, 2009
  7. add a test case for threaded mails without chain-reply-toMarkus Heidelberg, Jun 7, 2009
  8. Markus HeidelbergJun 7, 2009
  9. Marco CostalbaJun 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.