com karma: Fix double "<" and ">" in tagger email: lib/Git/PostReceiveHook.php

From: Date: Thu, 22 Mar 2012 08:29:30 +0000
Subject: com karma: Fix double "<" and ">" in tagger email: lib/Git/PostReceiveHook.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-68131@lists.php.net to get a copy of this message
Commit: 017216d047d98445579ff6a4fe55dbcb1c7bc85c Author: Alexander Moskaliov <irker@php.net> Thu, 22 Mar 2012 12:29:30 +0400 Parents: 4eb17646d5c809be94d25e04910db474e4ff1848 Branches: master Link: http://git.php.net/?p=karma.git;a=commitdiff;h=017216d047d98445579ff6a4fe55dbcb1c7bc85c Log: Fix double "<" and ">" in tagger email getTagInfo return mail with < and >, getCommitInfo without Changed paths: M lib/Git/PostReceiveHook.php Diff: 017216d047d98445579ff6a4fe55dbcb1c7bc85c diff --git a/lib/Git/PostReceiveHook.php b/lib/Git/PostReceiveHook.php index f1594f6..868fc6c 100644 --- a/lib/Git/PostReceiveHook.php +++ b/lib/Git/PostReceiveHook.php @@ -281,7 +281,7 @@ class PostReceiveHook extends ReceiveHook if ($info['annotated']) { $message .= 'Tag: ' . $info['revision'] . "\n"; - $message .= 'Tagger: ' . $info['tagger'] . ' <' . $info['tagger_email'] . '> ' . $info['tagger_date'] . "\n"; + $message .= 'Tagger: ' . $info['tagger'] . $info['tagger_email'] . ' ' . $info['tagger_date'] . "\n"; $message .= "Log:\n" . $info['log'] . "\n"; }

« previous php.cvs (#68131) next »