From 2f541fdfb253757a1f3beca33d75a86b124f78f5 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Mon, 8 Apr 2024 23:09:48 +0200 Subject: [PATCH] Add .gitignore to default excludes --- src/main/java/org/codehaus/plexus/util/AbstractScanner.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/codehaus/plexus/util/AbstractScanner.java b/src/main/java/org/codehaus/plexus/util/AbstractScanner.java index a10f43c7..d650c6df 100644 --- a/src/main/java/org/codehaus/plexus/util/AbstractScanner.java +++ b/src/main/java/org/codehaus/plexus/util/AbstractScanner.java @@ -41,7 +41,7 @@ public abstract class AbstractScanner implements Scanner { *
  • Mac: **/.DS_Store
  • *
  • Serena Dimension: **/.metadata, **/.metadata/**
  • *
  • Mercurial: **/.hg, **/.hg/**
  • - *
  • Git: **/.git, **/.git/**
  • + *
  • Git: **/.git, **/.git/**, **/.gitignore
  • *
  • Bitkeeper: **/BitKeeper, **/BitKeeper/**, **/ChangeSet, * **/ChangeSet/**
  • *
  • Darcs: **/_darcs, **/_darcs/**, **/.darcsrepo, @@ -106,6 +106,7 @@ public abstract class AbstractScanner implements Scanner { // git "**/.git", "**/.git/**", + "**/.gitignore", // BitKeeper "**/BitKeeper",