threads / patch / 8205

patchStGIT: Support Cc: fields in stg mail --auto

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

## tl;dr

One message between May 18, 2007 and May 18, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Petr Baudis· May 18, 2007, 15:33 UTC · lore

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(-)
Show changes to stgit/commands/mail.py +1 −1
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:

← back to recent threads