Explorar o código

Show 7 chars of the git hashes everywhere

Jordi Boggiano %!s(int64=12) %!d(string=hai) anos
pai
achega
06a588c197
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/Composer/Downloader/VcsDownloader.php

+ 2 - 2
src/Composer/Downloader/VcsDownloader.php

@@ -75,8 +75,8 @@ abstract class VcsDownloader implements DownloaderInterface
                 $from = $initial->getSourceReference();
                 $to = $target->getSourceReference();
             } else {
-                $from = substr($initial->getSourceReference(), 0, 6);
-                $to = substr($target->getSourceReference(), 0, 6);
+                $from = substr($initial->getSourceReference(), 0, 7);
+                $to = substr($target->getSourceReference(), 0, 7);
             }
             $name .= ' '.$initial->getPrettyVersion();
         } else {