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


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

Reply via email to