1
0
Fork 0

Fix create-project not updating to latest commit when cache is present, fixes #7550

pull/7565/head
Jordi Boggiano 2018-08-16 16:48:47 +02:00
parent 020d1f88c7
commit 0181f07491
1 changed files with 0 additions and 4 deletions

View File

@ -345,10 +345,6 @@ EOT
$package = $package->getAliasOf();
}
if (0 === strpos($package->getPrettyVersion(), 'dev-') && in_array($package->getSourceType(), array('git', 'hg'))) {
$package->setSourceReference(substr($package->getPrettyVersion(), 4));
}
$dm = $this->createDownloadManager($io, $config);
$dm->setPreferSource($preferSource)
->setPreferDist($preferDist)