Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-14731

Fix GitScmProvider logs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 8.8
    • Fix Version/s: 8.9
    • Component/s: Branch & PR, Scanner
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      There is a minor problem with one scanner engine log warning.
       
      This line:
      https://github.com/SonarSource/sonar-enterprise/blob/5cc52615ae9bdaff43b0ed77b176d02c5abca09b/sonar-scanner-engine/src/main/java/org/sonar/scm/git/GitScmProvider.java#L257
      needs string.format instead, because it produces raw

      WARN: Could not find ref '%s' in refs/heads, refs/remotes, refs/remotes/upstream or refs/remotes/origin

       

        Attachments

          Activity

            People

            Assignee:
            belen.pruvost Belén Pruvost
            Reporter:
            belen.pruvost Belén Pruvost
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: