X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/2cd81a74dcf24acf85c86639ad60a140037d4451..8a4d28fa14e4b0053d5fb9753535124b6bcbfe5e:/src/phorkie/Repository.php diff --git a/src/phorkie/Repository.php b/src/phorkie/Repository.php index 62a6e38..eae2fb4 100644 --- a/src/phorkie/Repository.php +++ b/src/phorkie/Repository.php @@ -113,6 +113,12 @@ class Repository $this->hash = $output; } + public function reloadHash() + { + $this->hash = null; + return $this->loadHash(); + } + /** * Populates $this->message * @@ -137,7 +143,7 @@ class Repository public function getVc() { - return new \VersionControl_Git($this->gitDir); + return new \VersionControl_Git($this->workDir); } /**