Make phorkie work with git 2.11
authorChristian Weiske <cweiske@cweiske.de>
Tue, 18 Apr 2017 21:13:52 +0000 (23:13 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 18 Apr 2017 21:13:52 +0000 (23:13 +0200)
Resolves: https://github.com/cweiske/phorkie/issues/23

src/phorkie/Repository.php

index 013f017..eae2fb4 100644 (file)
@@ -143,7 +143,7 @@ class Repository
 
     public function getVc()
     {
-        return new \VersionControl_Git($this->gitDir);
+        return new \VersionControl_Git($this->workDir);
     }
 
     /**