svn: SVNROOT/ commit-email.php

From: Date: Sun, 19 Jul 2009 00:46:14 +0000
Subject: svn: SVNROOT/ commit-email.php
Groups: php.cvs svn.migration 
Request: Send a blank email to svn-migration+get-500@lists.php.net to get a copy of this message
rasmus Sun, 19 Jul 2009 00:46:14 +0000 URL: http://svn.php.net/viewvc?view=revision&revision=284341 Changed paths: U SVNROOT/commit-email.php Log: Support "Bug: 12345" as well Modified: SVNROOT/commit-email.php =================================================================== --- SVNROOT/commit-email.php 2009-07-19 00:33:39 UTC (rev 284340) +++ SVNROOT/commit-email.php 2009-07-19 00:46:14 UTC (rev 284341) @@ -122,7 +122,7 @@ $commit_date = strtotime(substr($commit_info[1], 0, strlen("0000-00-00 00:00:00 +0000"))); $commit_log = implode("\n", array_slice($commit_info, 3)); // Support bug#1234 bug url extraction -$bugs = preg_match_all("/bug[\\s#]*([0-9]+)/i", $commit_log, $bugs_array); +$bugs = preg_match_all("/bug[\\s#:]*([0-9]+)/i", $commit_log, $bugs_array); // ----------------------------------------------------------------------------------------------------------------------------- // Determine "from" address

« previous svn.migration (#500) next »