Commit:    c07c79adcbb07fe0ce6a545b6033947a892b5605
Author:    David Soria Parra <d...@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'])));


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

Reply via email to