Skip to content

Commit

Permalink
One more place to ignore .gitignore and .gitatributes file types from
Browse files Browse the repository at this point in the history
  • Loading branch information
akurtakov committed May 19, 2022
1 parent da483ac commit 7871a13
Showing 1 changed file with 4 additions and 1 deletion.
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2012 SAP AG and others.
* Copyright (c) 2012, 2022 SAP AG and others.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -76,6 +76,9 @@ private List<Pattern> createDefaultExcludePatterns() {
for (String exclude : DEFAULTEXCLUDES) {
defaultExcludePatterns.add(convertToRegexPattern(exclude));
}
// keep ignoring the following files after https://github.com/codehaus-plexus/plexus-utils/pull/174
defaultExcludePatterns.add(convertToRegexPattern("**/.gitignore"));
defaultExcludePatterns.add(convertToRegexPattern("**/.gitattributes"));
return defaultExcludePatterns;
}

Expand Down

0 comments on commit 7871a13

Please sign in to comment.