diff --git a/gradle/validation/rat-sources.gradle b/gradle/validation/rat-sources.gradle index a971e91effe..74562e8f109 100644 --- a/gradle/validation/rat-sources.gradle +++ b/gradle/validation/rat-sources.gradle @@ -50,11 +50,6 @@ Set loadGitTrackedFiles() { rootProject.ext.ratGitTrackedFiles = null def dotGit = new File(rootProject.projectDir, ".git") - if (dotGit.isFile()) { - // git worktrees use a .git file — jgit does not fully support them - logger.warn("WARNING: git worktrees are not supported by jgit — RAT git-tracking filter disabled.") - return null - } if (!dotGit.isDirectory()) { return null // not a git repository }