[oe-commits] Darren Hart : send-pull-request: fix greedy auto-cc regex
git version control
git at git.openembedded.org
Thu May 19 22:41:19 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: e155cdedb0ac7ce8e0d6cb0ed5f22e9367f5e343
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e155cdedb0ac7ce8e0d6cb0ed5f22e9367f5e343
Author: Darren Hart <dvhart at linux.intel.com>
Date: Fri May 13 14:03:07 2011 -0700
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!
Signed-off-by: Darren Hart <dvhart at linux.intel.com>
Acked-by: Bruce Ashfield <bruce.ashfield at windriver.com>
Acked-by: Otavio Salvador <otavio at ossystems.com.br>
Cc: Richard Purdie <richard.purdie at linuxfoundation.org>
Cc: Saul Wold <sgw at linux.intel.com>
Cc: Bruce Ashfield <bruce.ashfield at windriver.com>
Cc: Otavio Salvador <otavio at ossystems.com.br>
---
scripts/send-pull-request | 2 +-
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
if [ $AUTO -eq 1 ]; then
harvest_recipients TO "^[Tt][Oo]: *"
harvest_recipients CC "^[Cc][Cc]: *"
- harvest_recipients CC "^.*-[Bb][Yy]: *"
+ harvest_recipients CC "^[A-Z][A-Za-z-]*-[Bb][Yy]: *"
fi
AUTO_TO="$(git config sendemail.to)"
More information about the Openembedded-commits
mailing list