fix crash when renaming file
[phorkie.git] / src / phorkie / Repository.php
index 62a6e38c4da8a30c6690381935693047b6606725..013f017f8111e742f5bce7a2e6d00687601e28b5 100644 (file)
@@ -113,6 +113,12 @@ class Repository
         $this->hash = $output;
     }
 
+    public function reloadHash()
+    {
+        $this->hash = null;
+        return $this->loadHash();
+    }
+
     /**
      * Populates $this->message
      *