Procházet zdrojové kódy

Merge pull request #5049 from curry684/issue-5048

Make path repository options part of the dist reference hash
Jordi Boggiano před 9 roky
rodič
revize
9580a76f0d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;