diff --git a/src/GitList/Component/Git/Client.php b/src/GitList/Component/Git/Client.php index dd654b2..01ed3a8 100644 --- a/src/GitList/Component/Git/Client.php +++ b/src/GitList/Component/Git/Client.php @@ -129,7 +129,7 @@ class Client public function run(Repository $repository, $command) { $descriptors = array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "w")); - $process = proc_open($this->getPath() . 'd -c "color.ui"=false ' . $command, $descriptors, $pipes, $repository->getPath()); + $process = proc_open($this->getPath() . ' -c "color.ui"=false ' . $command, $descriptors, $pipes, $repository->getPath()); if (!is_resource($process)) { throw new \RuntimeException('Unable to execute command: ' . $command);