Explorar o código

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

Niels Keurentjes %!s(int64=9) %!d(string=hai) anos
pai
achega
d41bd2909b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Repository/PathRepository.php

+ 1 - 1
src/Composer/Repository/PathRepository.php

@@ -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;