com karma: Typo: lib/Git/PostReceiveHook.php
| From: | David Soria Parra | Date: | Wed, 21 Mar 2012 18:50:39 +0000 |
| Subject: | com karma: Typo: lib/Git/PostReceiveHook.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68121@lists.php.net to get a copy of this message | ||
Commit: a9b8d256908e6a16d2627d2254aed619ad09611b
Author: David Soria Parra <dsp@php.net> Wed, 21 Mar 2012 19:50:39 +0100
Parents: f3cb335d3b43ec524d9c776d3f4c21fc0067c9cc
Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=a9b8d256908e6a16d2627d2254aed619ad09611b
Log:
Typo
Changed paths:
M lib/Git/PostReceiveHook.php
Diff:
a9b8d256908e6a16d2627d2254aed619ad09611b
diff --git a/lib/Git/PostReceiveHook.php b/lib/Git/PostReceiveHook.php
index 937c283..44e4144 100644
--- a/lib/Git/PostReceiveHook.php
+++ b/lib/Git/PostReceiveHook.php
@@ -86,7 +86,7 @@ class PostReceiveHook extends ReceiveHook
if ($ref['reftype'] == self::REF_TAG) {
$this->sendTagMail($ref['refname'], $ref['changetype'],
$ref['old'], $ref['new']);
}
- if ($ref['retype'] != self::TYPE_DELETED) {
+ if ($ref['reftype'] != self::TYPE_DELETED) {
$revisions = array_merge(
$revisions,
$this->getRevisions(escapeshellarg($ref['old'] . '..' .
$ref['new'])));