diff --git a/src/Composer/Repository/VcsRepository.php b/src/Composer/Repository/VcsRepository.php
index d26e37613..a7cf0181b 100644
--- a/src/Composer/Repository/VcsRepository.php
+++ b/src/Composer/Repository/VcsRepository.php
@@ -175,7 +175,9 @@ class VcsRepository extends ArrayRepository
}
}
- $this->io->overwrite('', false);
+ if (!$verbose) {
+ $this->io->overwrite('', false);
+ }
foreach ($driver->getBranches() as $branch => $identifier) {
$msg = 'Reading composer.json of ' . ($this->packageName ?: $this->url) . ' (' . $branch . ')';
@@ -227,7 +229,9 @@ class VcsRepository extends ArrayRepository
}
}
- $this->io->overwrite('', false);
+ if (!$verbose) {
+ $this->io->overwrite('', false);
+ }
if (!$this->getPackages()) {
throw new \RuntimeException('No valid composer.json was found in any branch or tag of '.$this->url.', could not load a package from it.');