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-68126@lists.php.net to get a copy of this message | ||
Commit: c07c79adcbb07fe0ce6a545b6033947a892b5605
Author: David Soria Parra <dsp@php.net> Wed, 21 Mar 2012 19:50:39 +0100
Parents: 581922de1992198175a75458fbea2c9066d7dea0
Branches: dsp/playground
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=c07c79adcbb07fe0ce6a545b6033947a892b5605
Log:
Typo
Changed paths:
M lib/Git/PostReceiveHook.php
Diff:
c07c79adcbb07fe0ce6a545b6033947a892b5605
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'])));