Move common ignore matches to the top-level .gitignore. Force directory matching by adding a trailing /. Remove unused matches (enoent). Add missing matches (t.tmp and autom4te.cache/).
@@ -1,9 +1,16 @@
-build-tree
-config
-ABOUT-NLS
-INSTALL
+# Inherited ignores
+*.a
+*.o
+.deps/
Makefile
Makefile.in
+
+# Top dir ignores
+autom4te.cache/
+build-tree/
+config/
+ABOUT-NLS
+INSTALL
configure
config.*
aclocal.m4
@@ -1,5 +1 @@
-*.o
-.deps
-Makefile
-Makefile.in
dpkg-deb
@@ -1,6 +1,2 @@
dpkg-split
mksplit
curkeys.h
dselect
@@ -1,2 +0,0 @@
@@ -1,6 +1,4 @@
*.gmo
*.sed
POTFILES
stamp-po
@@ -1,6 +1 @@
-*.a
trigdeferred.c
@@ -1,5 +0,0 @@
@@ -7,6 +7,4 @@ pl
pt_BR
ru
sv
man.stamp
@@ -2,8 +2,6 @@
*.sin
*.header
Makefile.in.in
Makevars.template
@@ -1,5 +1,3 @@
dpkg-architecture
dpkg-buildpackage
dpkg-checkbuilddeps
@@ -20,3 +18,4 @@ install-info
install-info-stamp
cleanup-info
822-date
+t.tmp
@@ -1,7 +1,3 @@
dpkg
dpkg-query
dpkg-trigger
-enoent
start-stop-daemon