Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

jgit 7.x supports git worktrees (#4544)

David Smiley455226acbf22
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<String> 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
}