From: Edward Z. Yang Date: Sun, 27 Jul 2008 06:25:06 +0000 (-0600) Subject: Make command invoker use the Git::$git variable for the executable. X-Git-Url: https://repo.or.cz/w/phpgit.git/commitdiff_plain/81c0f9d6f7c2589c3c19adfcbbc4c78eadd51ac5 Make command invoker use the Git::$git variable for the executable. Signed-off-by: Edward Z. Yang --- diff --git a/library/Git.php b/library/Git.php index 5548646..25f85ad 100644 --- a/library/Git.php +++ b/library/Git.php @@ -208,7 +208,7 @@ class Git $c = $method[$i]; $command .= ctype_upper($c) ? '-' . strtolower($c) : $c; } - $call = array_merge(array('git', $command), $args); + $call = array_merge(array(self::$git, $command), $args); $result = $this->execute($call); return $result; }