Dotnet sonarscanner fails when git repo is a worktree

Thanks.

While we don’t always use JGit to blame files, we do use it to index files. And if JGit isn’t supporting worktrees… I’m not sure we can do much about it.

But on the JGit side there does be some movement on this: https://eclipse.gerrithub.io/c/eclipse-jgit/jgit/+/1194900

If this does land in a JGit release, SonarQube will eventually move to this version (sooner if we have a good reason to, like maybe this!)

For now, if you’re blocked from analyzing, setting sonar.scm.disabled=true should help you move forward.