Make command invoker use the Git::$git variable for the executable.
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Sun, 27 Jul 2008 06:25:06 +0000 (27 00:25 -0600)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Sun, 27 Jul 2008 06:25:06 +0000 (27 00:25 -0600)
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
library/Git.php

index 5548646..25f85ad 100644 (file)
@@ -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;
     }