aboutsummaryrefslogtreecommitdiff
path: root/src/phorkie/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/phorkie/File.php')
-rw-r--r--src/phorkie/File.php6
1 files changed, 5 insertions, 1 deletions
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();
}