Commit:    228b3322b737e364c3cbaf37567142768e015f92
Author:    Florian Anderiasch <f...@php.net>         Wed, 21 Mar 2012 15:07:54 
+0100
Parents:   bacc09d8928b6a04b9e8337d089eebd96f4a795d
Branches:  master

Link:       
http://git.php.net/?p=karma.git;a=commitdiff;h=228b3322b737e364c3cbaf37567142768e015f92

Log:
Fix format of the bugsweb post

Changed paths:
  M  hooks/post-receive.bugsweb


Diff:
228b3322b737e364c3cbaf37567142768e015f92
diff --git a/hooks/post-receive.bugsweb b/hooks/post-receive.bugsweb
index 683ffe2..6bf432e 100755
--- a/hooks/post-receive.bugsweb
+++ b/hooks/post-receive.bugsweb
@@ -71,8 +71,9 @@ foreach ($rpath as $commit) {
     $commit_info = array();
     $commit_info['log_message'] = $commitMsg;
     $commit_info['author'] = $committer;
+    $commit_info['author'] = preg_replace("#@php\.net$#", "", $committer);
     $viewvc_url_prefix = sprintf(
-        'http://git.php.net/?p=%s.git;a=commit;h=',
+        'http://git.php.net/?p=%s;a=commit;h=',
         $hook->getRepositoryName()
     );
     $REV = $commitHash;


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to