1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00

Don't update local checkout directory if url is pointing to it. Only update the checkout directory if it is controlled by composer.

This commit is contained in:
kthbit 2017-08-14 10:56:02 -05:00
parent 927d3dda89
commit 1a30e3fbc1

View file

@ -48,9 +48,9 @@ class FossilDriver extends VcsDriver
$localName = preg_replace('{[^a-z0-9]}i', '-', $this->url);
$this->repoFile = $this->config->get('cache-repo-dir') . '/' . $localName . '.fossil';
$this->checkoutDir = $this->config->get('cache-vcs-dir') . '/' . $localName . '/';
}
$this->updateLocalRepo();
$this->updateLocalRepo();
}
$this->getTags();
$this->getBranches();