1
0
Fork 0

Fix commit is gone recovery, refs #1130

pull/2459/merge
Jordi Boggiano 2014-01-01 18:15:04 +01:00
parent 81994f6b90
commit 543599cdf7
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ class GitDownloader extends VcsDownloader
}
// checkout the new recovered ref
$command = sprintf($template, escapeshellarg($reference));
$command = sprintf($template, escapeshellarg($newReference));
if (0 === $this->process->execute($command, $output, $path)) {
$this->io->write(' '.$reference.' is gone (history was rewritten?), recovered by checking out '.$newReference);