You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Arnout Engelen (Jira)" <ji...@apache.org> on 2025/02/03 14:06:00 UTC

[jira] [Created] (RAT-473) Ignore files matching the global .gitignore

Arnout Engelen created RAT-473:
----------------------------------

             Summary: Ignore files matching the global .gitignore
                 Key: RAT-473
                 URL: https://issues.apache.org/jira/browse/RAT-473
             Project: Apache Rat
          Issue Type: Improvement
            Reporter: Arnout Engelen


rat already ignores local files matching the patterns in .gitignore when scanning for license/copyright headers.

Some tools, such as some editors/IDEs (but also other utilities), leave behind files in the project that should similarly be ignored. Especially for obscure tools, it would be nice to be able to do that without having to contribute to the .gitignore in the upstream repository. In such cases it's helpful to put those patterns in a user-specific 'global' gitignore ([https://git-scm.com/docs/gitignore).] Git supports this, but rat currently doesn't take it into account.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)