[git] commit karma.git: lib/Git/BugsWebPostReceiveHook.php
| From: | David Soria Parra | Date: | Mon, 19 Mar 2012 17:27:14 +0000 |
| Subject: | [git] commit karma.git: lib/Git/BugsWebPostReceiveHook.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-67961@lists.php.net to get a copy of this message | ||
Commit: a906187e5b716c29691abfe44d1dc876232b711d
Author: David Soria Parra(dsp@php.net) Mon, 19 Mar 2012 18:16:10 +0100
Committer: David Soria Parra(dsp@php.net) Mon, 19 Mar 2012 18:16:10 +0100
Parents: a805c5336965215eda3f10c6ad33b5f9e8b93f83
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=a906187e5b716c29691abfe44d1dc876232b711d
Log:
Use the right GIT_EXECUTABLE constant
Changed paths:
M lib/Git/BugsWebPostReceiveHook.php
Diff:
a906187e5b716c29691abfe44d1dc876232b711d
diff --git a/lib/Git/BugsWebPostReceiveHook.php b/lib/Git/BugsWebPostReceiveHook.php
index 13e263b..ee54826 100644
--- a/lib/Git/BugsWebPostReceiveHook.php
+++ b/lib/Git/BugsWebPostReceiveHook.php
@@ -37,7 +37,7 @@ class BugsWebPostReceiveHook extends ReceiveHook
if ($old == '0000000000000000000000000000000000000000') {
$cmd = sprintf(
"%s --git-dir=%s for-each-ref --format='%%(refname)'
'refs/heads/*'",
- self::GIT_EXECUTABLE,
+ \Git::GIT_EXECUTABLE,
$repourl
);
exec($cmd, $output);
@@ -66,4 +66,4 @@ class BugsWebPostReceiveHook extends ReceiveHook
return $output;
}
-}
\ No newline at end of file
+}