Skip to content

Commit 2f541fd

Browse files
Add .gitignore to default excludes
1 parent d44d2ec commit 2f541fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/codehaus/plexus/util/AbstractScanner.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public abstract class AbstractScanner implements Scanner {
4141
* <li>Mac: &#42;&#42;/.DS_Store</li>
4242
* <li>Serena Dimension: &#42;&#42;/.metadata, &#42;&#42;/.metadata/&#42;&#42;</li>
4343
* <li>Mercurial: &#42;&#42;/.hg, &#42;&#42;/.hg/&#42;&#42;</li>
44-
* <li>Git: &#42;&#42;/.git, &#42;&#42;/.git/&#42;&#42;</li>
44+
* <li>Git: &#42;&#42;/.git, &#42;&#42;/.git/&#42;&#42;, &#42;&#42;/.gitignore</li>
4545
* <li>Bitkeeper: &#42;&#42;/BitKeeper, &#42;&#42;/BitKeeper/&#42;&#42;, &#42;&#42;/ChangeSet,
4646
* &#42;&#42;/ChangeSet/&#42;&#42;</li>
4747
* <li>Darcs: &#42;&#42;/_darcs, &#42;&#42;/_darcs/&#42;&#42;, &#42;&#42;/.darcsrepo,
@@ -106,6 +106,7 @@ public abstract class AbstractScanner implements Scanner {
106106
// git
107107
"**/.git",
108108
"**/.git/**",
109+
"**/.gitignore",
109110

110111
// BitKeeper
111112
"**/BitKeeper",

0 commit comments

Comments
 (0)