[ 
https://issues.apache.org/jira/browse/RAT-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17955481#comment-17955481
 ] 

ASF subversion and git services commented on RAT-473:
-----------------------------------------------------

Commit 34eee8886adb6b5db494abe56e25dca4a5206aac in creadur-rat's branch 
refs/heads/master from Arnout Engelen
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=34eee888 ]

RAT-473: take into account global gitignore (#433)

Take into account exclusions from the global gitignore file if it is present in 
the default location or specified by the XDG_CONFIG_HOME environment variable.

see https://git-scm.com/docs/gitignore for details.

> 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
>            Priority: Minor
>
> 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)

Reply via email to