X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/5d76ec85a500321127ac879ffaa0aabd686bb7bf..39e0a6893c7f5c31cdbc89633c37525fd62bac46:/src/phorkie/File.php diff --git a/src/phorkie/File.php b/src/phorkie/File.php index acc44cd..188c255 100644 --- a/src/phorkie/File.php +++ b/src/phorkie/File.php @@ -61,7 +61,11 @@ class File public function getContent() { if ($this->repo->hash) { - return $this->repo->getVc()->getCommand('show') + //quick hack until https://pear.php.net/bugs/bug.php?id=19385 is fixed + $cmd = new GitCommandBinary($this->repo->getVc()); + $cmd->setSubCommand('show'); + return //$this->repo->getVc()->getCommand('show') + $cmd ->addArgument($this->repo->hash . ':' . $this->path) ->execute(); }