]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- recognize only issue and bug
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 26 Apr 2006 16:18:01 +0000 (16:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-scm-updates.patch -> 1.2

eventum-scm-updates.patch

index 032818adc06ef4e5f50128f695722378afd865ce..294de3517bce19cc3b85a9a41e19a40821ba4f85 100644 (file)
@@ -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) {
This page took 0.114393 seconds and 4 git commands to generate.