This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 455226acbf2 jgit 7.x supports git worktrees (#4544)
455226acbf2 is described below

commit 455226acbf226513346c35796944800e321d3acd
Author: David Smiley <[email protected]>
AuthorDate: Thu Jun 25 22:56:30 2026 -0400

    jgit 7.x supports git worktrees (#4544)
---
 gradle/validation/rat-sources.gradle | 5 -----
 1 file changed, 5 deletions(-)

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
   }

Reply via email to