소스 검색

Update comment

Jordi Boggiano 7 년 전
부모
커밋
c52e8e5656
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Package/Version/VersionGuesser.php

+ 1 - 1
src/Composer/Package/Version/VersionGuesser.php

@@ -217,7 +217,7 @@ class VersionGuesser
                     break;
                 }
 
-                // do not compare against other feature branches
+                // do not compare against itself or other feature branches
                 if ($candidate === $branch || !preg_match('{^(' . $nonFeatureBranches . '|master|trunk|default|develop|\d+\..+)$}', $candidate, $match)) {
                     continue;
                 }