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

[StGit PATCH 2/2] Pass the --in-reply-to and --no-thread options to git send-email

From
CMCatalin Marinas <catalin.marinas@arm.com>
Date
Jan 7, 2010, 16:09 UTC
Message-ID
<20100107160937.3226.14811.stgit@pc1117.cambridge.arm.com>
In-Reply-To
<20100107160932.3226.95737.stgit@pc1117.cambridge.arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
---
 stgit/commands/mail.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/stgit/commands/mail.py b/stgit/commands/mail.py
index a78c9d2..b6f5d8d 100644
--- a/stgit/commands/mail.py
+++ b/stgit/commands/mail.py
@@ -241,6 +241,10 @@ def __send_message_git(msg, options):
     cmd.append("--suppress-cc=self")
     if not options.auto:
         cmd.append("--suppress-cc=body")
+    if options.in_reply_to:
+        cmd.append("--in-reply-to %s" % options.in_reply_to)
+    if options.no_thread:
+        cmd.append("--no-thread")
 
     # We only support To/Cc/Bcc in git send-email for now.
     for x in ['to', 'cc', 'bcc']:
Previous: Catalin MarinasNext: Karl Wiberg
Message 2 of 5 in “Rename the mail --refid and --noreply options to match Git”
  1. 1/2 Rename the mail --refid and --noreply options to match GitCatalin Marinas, Jan 7, 2010
  2. 2/2 Pass the --in-reply-to and --no-thread options to git send-emailCatalin Marinas, Jan 7, 2010
  3. Karl WibergJan 8, 2010
  4. Catalin MarinasJan 8, 2010
  5. Karl WibergJan 8, 2010

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.