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

[PATCH] StGIT: Support Cc: fields in stg mail --auto

From
Petr Baudis <pasky@suse.cz>
Date
May 18, 2007, 15:33 UTC
Message-ID
<20070518153330.24515.35121.stgit@rover>

Aside of Signed-off-by and Acked-by fields, Cc fields may occur in the message footer; include them in the auto-composed mail Cc list.

Signed-off-by: Petr Baudis <pasky@suse.cz>
---
 stgit/commands/mail.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/stgit/commands/mail.py b/stgit/commands/mail.py
index 151a408..97deb3e 100644
--- a/stgit/commands/mail.py
+++ b/stgit/commands/mail.py
@@ -223,7 +223,7 @@ def __get_signers_list(msg):
     """
     addr_list = []
 
-    r = re.compile('^(signed-off-by|acked-by):\s+(.+)$', re.I)
+    r = re.compile('^(signed-off-by|acked-by|cc):\s+(.+)$', re.I)
     for line in msg.split('\n'):
         m = r.match(line)
         if m:
Message 1 of 1 in “StGIT: Support Cc: fields in stg mail --auto”
  1. StGIT: Support Cc: fields in stg mail --autoPetr Baudis, May 18, 2007

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.