chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a7c71da
)
StGIT: Support Cc: fields in stg mail --auto
author
Petr Baudis
<pasky@suse.cz>
Tue, 22 May 2007 20:45:53 +0000
(21:45 +0100)
committer
Catalin Marinas
<catalin.marinas@gmail.com>
Tue, 22 May 2007 20:46:10 +0000
(21:46 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/stgit/commands/mail.py
b/stgit/commands/mail.py
index 1ca6ba24ccb3ae18b6a8e668a856c49cbcd25b42..b95014c16ae48b796cd00268876335e23a91992d 100644
(file)
--- a/
stgit/commands/mail.py
+++ b/
stgit/commands/mail.py
@@
-226,7
+226,7
@@
def __get_signers_list(msg):
"""
addr_list = []
"""
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:
for line in msg.split('\n'):
m = r.match(line)
if m: