From 808a3a5857c77ef99605fdfdde9b31b5c02e22c6 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 14 Jul 2015 07:58:32 +0200 Subject: fix crash when renaming file This bug was introduced by the modified hash handling for caching in 2cd81a7 --- src/phorkie/Repository.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/phorkie/Repository.php') 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 * -- cgit v1.2.3