]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-11677 Use main branch as reference when analyzing a PR and base branch is not...
authorJulien HENRY <julien.henry@sonarsource.com>
Mon, 4 Feb 2019 14:19:36 +0000 (15:19 +0100)
committerSonarTech <sonartech@sonarsource.com>
Mon, 18 Feb 2019 19:20:55 +0000 (20:20 +0100)
sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/BranchConfiguration.java

index 7377fcc6f3bfe6d8fe87a6fb9dbecaf40844f14d..87dedb54d11f675e87bf1994d6235d045805f14a 100644 (file)
@@ -55,7 +55,7 @@ public interface BranchConfiguration {
    * For short living branches, we look at sonar.branch.target (default to default branch). If it exists but is a short living branch or PR, we will
    * transitively use its own target.
    * For PR, we look at sonar.pullrequest.base (default to default branch). If it exists but is a short living branch or PR, we will
-   * transitively use its own target.
+   * transitively use its own target. If base is not analyzed, we will use default branch.
    * Only @null if the branch feature is not available.
    */
   @CheckForNull