public function loadHash()
{
- return;
if ($this->hash !== null) {
return;
}
$this->hash = $output;
}
+ public function reloadHash()
+ {
+ $this->hash = null;
+ return $this->loadHash();
+ }
+
/**
* Populates $this->message
*
public function getVc()
{
- return new \VersionControl_Git($this->gitDir);
+ return new \VersionControl_Git($this->workDir);
}
/**
->execute();
$files = explode("\n", trim($output));
foreach ($files as &$file) {
- if ($file{0} == '"') {
+ if ($file[0] == '"') {
$file = $this->decodeFileName($file);
}
}