From 86af5e5c6e514dd3865e3bbf501dcc21472dceb3 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 25 Jun 2020 08:58:08 +0200 Subject: [PATCH] Remove conflict between trunk and master, as they do not normalize anymore --- src/Composer/Repository/VcsRepository.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Composer/Repository/VcsRepository.php b/src/Composer/Repository/VcsRepository.php index 5c6c09557..24f85053c 100644 --- a/src/Composer/Repository/VcsRepository.php +++ b/src/Composer/Repository/VcsRepository.php @@ -291,13 +291,6 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt $this->io->overwriteError($msg, false); } - if ($branch === 'trunk' && isset($branches['master'])) { - if ($isVeryVerbose) { - $this->io->writeError('Skipped branch '.$branch.', can not parse both master and trunk branches as they both resolve to '.VersionParser::DEV_MASTER_ALIAS.' internally'); - } - continue; - } - if (!$parsedBranch = $this->validateBranch($branch)) { if ($isVeryVerbose) { $this->io->writeError('Skipped branch '.$branch.', invalid name');