The current pattern also ignores directories suffixed with ".d", like:
tools/hotplug/*/rc.d
tools/hotplug/*/init.d
Avoid this by only ignoring "hidden" files, for which name starts with
a dot.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
.gitignore | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 880ba88c55..5b30d8fc36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,12 @@
.hg
.*.cmd
+.*.d
+.*.d2
.*.tmp
*.orig
*~
*.swp
*.o
-*.d
-*.d2
*.cppcheck.txt
*.cppcheck.xml
*.opic
--
Anthony PERARD