Branch: master
Deleted commits count: 1
User: Alexander Moskaliov <[email protected]> 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',
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php