SOURCES: eventum-scm-updates.patch - recognize only issue and bug
glen
glen at pld-linux.org
Wed Apr 26 18:18:06 CEST 2006
Author: glen Date: Wed Apr 26 16:18:06 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- recognize only issue and bug
---- Files affected:
SOURCES:
eventum-scm-updates.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/eventum-scm-updates.patch
diff -u SOURCES/eventum-scm-updates.patch:1.1 SOURCES/eventum-scm-updates.patch:1.2
--- SOURCES/eventum-scm-updates.patch:1.1 Tue Mar 28 20:39:38 2006
+++ SOURCES/eventum-scm-updates.patch Wed Apr 26 18:18:01 2006
@@ -4,9 +4,8 @@
$commit_msg = substr($input, strpos($input, 'Log Message:')+strlen('Log Message:')+1);
// parse the commit message and get the first issue number we can find
--$pattern = "/(?:issue|bug) ?:? ?#?(\d+)/i";
+ $pattern = "/(?:issue|bug) ?:? ?#?(\d+)/i";
-preg_match($pattern, $commit_msg, $matches);
-+$pattern = "/(?:issue|bug|close[ds]?|fix(?:e[ds])?) ?:? ?#?(\d+)/i";
+preg_match_all($pattern, $commit_msg, $matches);
if (count($matches) > 1) {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/eventum-scm-updates.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list