del karma: lib/Git/BugsWebPostReceiveHook.php

From: Date: Sat, 07 Apr 2012 10:52:07 +0000
Subject: del karma: lib/Git/BugsWebPostReceiveHook.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-68684@lists.php.net to get a copy of this message
Branch: master Deleted commits count: 1 User: Alexander Moskaliov <irker@php.net> Sat, 07 Apr 2012 10:52:07 +0000 Changed paths: M lib/Git/BugsWebPostReceiveHook.php Diff: diff --git b/lib/Git/BugsWebPostReceiveHook.php a/lib/Git/BugsWebPostReceiveHook.php index 8331ea7..f96fe4a 100644 --- b/lib/Git/BugsWebPostReceiveHook.php +++ a/lib/Git/BugsWebPostReceiveHook.php @@ -41,10 +41,8 @@ class BugsWebPostReceiveHook extends ReceiveHook \Git::GIT_EXECUTABLE, $repourl ); - exec($cmd, $output); + exec($cmd, $heads); - /* do we have heads? otherwise it's a new repo! */ - $heads = implode(' ', $output); $not = count($output) > 0 ? ' --not ' . implode(' ', $this->escapeArrayShellArgs($heads)) : ''; $cmd = sprintf( '%s --git-dir=%s log --pretty=format:"[%%ae] %%H %%s" %s %s',

« previous php.cvs (#68684) next »