Branch: master
Deleted commits count: 1
User: Alexander Moskaliov <ir...@php.net>         Sat, 07 Apr 2012 10:52:37 
+0000

Changed paths:
  M  lib/Git/BugsWebPostReceiveHook.php


Diff:
diff --git b/lib/Git/BugsWebPostReceiveHook.php 
a/lib/Git/BugsWebPostReceiveHook.php
index f96fe4a..b608b88 100644
--- b/lib/Git/BugsWebPostReceiveHook.php
+++ a/lib/Git/BugsWebPostReceiveHook.php
@@ -43,7 +43,7 @@ class BugsWebPostReceiveHook extends ReceiveHook
             );
             exec($cmd, $heads);
 
-            $not   = count($output) > 0 ? ' --not ' . implode(' ', 
$this->escapeArrayShellArgs($heads)) : '';
+            $not   = count($heads) > 0 ? ' --not ' . implode(' ', 
$this->escapeArrayShellArgs($heads)) : '';
             $cmd   = sprintf(
                 '%s --git-dir=%s log --pretty=format:"[%%ae] %%H %%s" %s %s',
                 \Git::GIT_EXECUTABLE,


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

Reply via email to