From: Petr Baudis Date: Tue, 22 May 2007 20:45:53 +0000 (+0100) Subject: StGIT: Support Cc: fields in stg mail --auto X-Git-Tag: v0.13~61 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/769cd397c35ac2304355a3545d1c7962c5a81891?ds=inline StGIT: Support Cc: fields in stg mail --auto 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 --- diff --git a/stgit/commands/mail.py b/stgit/commands/mail.py index 1ca6ba2..b95014c 100644 --- a/stgit/commands/mail.py +++ b/stgit/commands/mail.py @@ -226,7 +226,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: