summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-05-13 21:03:07 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-19 22:40:38 (GMT)
commitad6335ac7b5c37a1123058d0db33a5ba67e58521 (patch)
tree329b1c2dbf6f00d566cffaaaae43dc10e0256430
parent58f901bf9128fa03211a7548d107722f5935ef1e (diff)
downloadpoky-ad6335ac7b5c37a1123058d0db33a5ba67e58521.tar.gz
send-pull-request: fix greedy auto-cc regex
A greedy regular expression caused emails to be harvested from patches that were quoted in the commit message. Ensure only tags that start at the beginning of the line are considered for harvesting. NOTE: users are still responsible for verifying the recipients list and to ensure they do not spam people! (From OE-Core rev: e155cdedb0ac7ce8e0d6cb0ed5f22e9367f5e343) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Saul Wold <sgw@linux.intel.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/send-pull-request2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/send-pull-request b/scripts/send-pull-request
index d265c47..b294d35 100755
--- a/scripts/send-pull-request
+++ b/scripts/send-pull-request
@@ -90,7 +90,7 @@ done
90if [ $AUTO -eq 1 ]; then 90if [ $AUTO -eq 1 ]; then
91 harvest_recipients TO "^[Tt][Oo]: *" 91 harvest_recipients TO "^[Tt][Oo]: *"
92 harvest_recipients CC "^[Cc][Cc]: *" 92 harvest_recipients CC "^[Cc][Cc]: *"
93 harvest_recipients CC "^.*-[Bb][Yy]: *" 93 harvest_recipients CC "^[A-Z][A-Za-z-]*-[Bb][Yy]: *"
94fi 94fi
95 95
96AUTO_TO="$(git config sendemail.to)" 96AUTO_TO="$(git config sendemail.to)"