Skip to contentSkip to conversation

.gitignore: Only ignore hidden dependency files

PATCH In review Anthony PERARD 2 participants 2 messages Jan 31, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .gitignore: Only ignore hidden dependency files

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.

---
 .gitignore | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
.gitignore +2 -2
index 880ba88c55..5b30d8fc36 100644
@@ -1,12 +1,12 @@
 .hg
 .*.cmd
+.*.d
+.*.d2
 .*.tmp
 *.orig
 *~
 *.swp
 *.o
-*.d
-*.d2
 *.cppcheck.txt
 *.cppcheck.xml
 *.opic
Signature · 1 line
Anthony PERARD