1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Make path repository options part of the dist reference hash, fixes #5048

This commit is contained in:
Niels Keurentjes 2016-03-12 11:05:03 +01:00
parent 1dce6442ed
commit d41bd2909b

View file

@ -137,7 +137,7 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
$package['dist'] = array(
'type' => 'path',
'url' => $url,
'reference' => sha1($json),
'reference' => sha1($json . serialize($this->options)),
);
$package['transport-options'] = $this->options;