aboutsummaryrefslogtreecommitdiff
path: root/src/phorkie/Repository.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2015-07-14 07:58:32 +0200
committerChristian Weiske <cweiske@cweiske.de>2015-07-14 07:58:32 +0200
commit808a3a5857c77ef99605fdfdde9b31b5c02e22c6 (patch)
tree87c961fcff7fda8cb3e8fdb80bf3829c10f5df1c /src/phorkie/Repository.php
parenteabef388982e2b198e77f7a7b9e9f5bebfa8d457 (diff)
downloadphorkie-808a3a5857c77ef99605fdfdde9b31b5c02e22c6.tar.gz
phorkie-808a3a5857c77ef99605fdfdde9b31b5c02e22c6.zip
fix crash when renaming file
This bug was introduced by the modified hash handling for caching in 2cd81a7
Diffstat (limited to 'src/phorkie/Repository.php')
-rw-r--r--src/phorkie/Repository.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/phorkie/Repository.php b/src/phorkie/Repository.php
index 62a6e38..013f017 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
*