All files excluded by the scm ignore settings when git repo was created in separate directory

Hi Sonar Source team,
Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube 9.2.4, Plugin sonar-maven-plugin 3.9.1.2184)
  • I am trying to do static code analysis on a Java project
  • In my eclipse ide I have configured the maven settings.xml correctly and am doing the following:
    mvn -X clean verify sonar:sonar -Dsonar.projectKey=xxxx

The git repo was created using the separate-git-dir option(git clone --separate-git-dir)
when i execute the mvn command, all files are excluded by the scm ignore settings.

When i clone the same git repo without the separate-git-dir, all files are properly analyzed.

Thanks,

Hello,
Separate git dirs are currently not supported. The support of it depends on a library we use (JGit), so we don’t plan to support it unless the library does so.

The support of it may actually be added in the next versions as we are looking to use other git clients for performance reasons. No guarantees though.

Thanks for your response!!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.