[
https://issues.apache.org/jira/browse/RAT-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18145817#comment-18145817
]
ASF subversion and git services commented on RAT-590:
-----------------------------------------------------
Commit 3663eb4ea731b3e1c6c4986771af8419a13921a7 in creadur-rat's branch
refs/heads/feature/complexSPDXmatcherParsing from Guillaume Nodet
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=3663eb4ea ]
RAT-590: Skip hidden directories during SCM ignore file discovery walk
Hidden directories (names starting with '.') are now skipped during
the SCM ignore file discovery walk in all SCM ignore processors
(Bazaar, CSV, Git, HG). Hidden directories are excluded by default
via HIDDEN_DIR, so their SCM ignore files are irrelevant.
This fixes severe performance issues when hidden directories contain
large trees (e.g. git worktrees stored under .worktrees/ or .claude/).
In a project with 27 worktrees under .claude/worktrees/, RAT was
traversing ~370,000 extra files during the .gitignore discovery phase.
Adds test hiddenDirectoriesAreSkippedDuringWalk to verify the fix.
Adds changes.xml entry mentioning impact on all SCM processors.
> Skip hidden directories during SCM ignore file discovery walk
> -------------------------------------------------------------
>
> Key: RAT-590
> URL: https://issues.apache.org/jira/browse/RAT-590
> Project: Apache RAT
> Issue Type: Improvement
> Affects Versions: 0.18
> Reporter: Philipp Ottlinger
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: 0.19
>
>
> SCM ignore scan may handle too many files and descend into
> .-directories/hiddenfiles.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)