All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] StGIT: Support Cc: fields in stg mail --auto
@ 2007-05-18 15:33 Petr Baudis
  0 siblings, 0 replies; only message in thread
From: Petr Baudis @ 2007-05-18 15:33 UTC (permalink / raw)
  To: Catalin Marinas; +Cc: git

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:

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-18 15:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-18 15:33 [PATCH] StGIT: Support Cc: fields in stg mail --auto Petr Baudis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.