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);
}
}