You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "raboof (via GitHub)" <gi...@apache.org> on 2025/02/03 14:14:34 UTC
Re: [PR] [RAT-473][WIP] take global gitignore into account [creadur-rat]
raboof commented on code in PR #433:
URL: https://github.com/apache/creadur-rat/pull/433#discussion_r1939446631
##########
apache-rat-core/src/main/java/org/apache/rat/config/exclusion/StandardCollection.java:
##########
@@ -310,4 +310,18 @@ public boolean hasStaticDocumentNameMatcher() {
}
return false;
}
+
+ /** The location of the global gitignore file to process */
+ private static String globalGitIgnore() {
+ String xdgConfigHome = System.getenv("XDG_CONFIG_HOME");
+ if (xdgConfigHome != null && !xdgConfigHome.isEmpty()) {
+ return xdgConfigHome + File.pathSeparator + "git" + File.pathSeparator + "ignore";
Review Comment:
I'll wait until your `GitIgnoreProcessor` work is finished
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@creadur.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org