]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
simplify gitignore a bit 1205/head
authorMike Frysinger <vapier@gentoo.org>
Wed, 22 May 2019 04:04:35 +0000 (09:49 +0545)
committerMike Frysinger <vapier@gentoo.org>
Wed, 22 May 2019 04:04:35 +0000 (09:49 +0545)
Lets ignore autotool generated files (.la .dirstamp .deps) everywhere
rather than hardcoded specific subdirs.  We'll never add files with
those names to the source repo, so that should be OK.

We're already ignoring CMakeFiles/ everywhere (since the rule lacks
a leading / anchor), so we can delete the redundant paths.

Rather than hardcode every possible unittest and related files, add
globs that ignore all *_test related paths in the topdir.  We won't
be adding paths like that to the source repo, so it should be OK.

.gitignore

index a766c3cf7f77ecc3a0eb75869ba56cf962c3bbf7..bdee31478876311b0552efe1bd1053e943d71eec 100644 (file)
@@ -1,19 +1,19 @@
 *~
 *.o
 *.exe
+*.la
 *.lo
 *.cmake
+.deps/
 .libs/
+.dirstamp
 Makefile
 Makefile.in
 aclocal.m4
 autom4te.cache/
 bsdcat
-bsdcat_test
 bsdcpio
-bsdcpio_test
 bsdtar
-bsdtar_test
 build/autoconf/compile
 build/autoconf/config.guess
 build/autoconf/config.sub
@@ -27,50 +27,22 @@ build/autoconf/ltversion.m4
 build/autoconf/lt~obsolete.m4
 build/autoconf/missing
 build/pkgconfig/libarchive.pc
-cat/.deps/
-cat/.dirstamp
-cat/test/.deps/
-cat/test/.dirstamp
 cat/test/list.h
+config.cache
 config.h
 config.h.in
 config.log
 config.status
 configure
-cpio/.deps/
-cpio/.dirstamp
-cpio/test/.deps/
-cpio/test/.dirstamp
 cpio/test/list.h
-libarchive.la
-libarchive/.deps/
-libarchive/.dirstamp
-libarchive/test/.deps/
-libarchive/test/.dirstamp
 libarchive/test/list.h
-libarchive_fe.la
-libarchive_fe/.deps/
-libarchive_fe/.dirstamp
-libarchive_test
 libtool
 stamp-h1
-tar/.deps/
-tar/.dirstamp
-tar/test/.deps/
-tar/test/.dirstamp
 tar/test/list.h
 CMakeCache.txt
 CMakeFiles/
 DartConfiguration.tcl
 cmake.tmp/
-cpio/CMakeFiles/
-cpio/test/CMakeFiles/
-libarchive/CMakeFiles/
-libarchive/test/CMakeFiles/
-tar/CMakeFiles/
-tar/test/CMakeFiles/
-test_utils/.deps/
-test_utils/.dirstamp
 
 doc/html/*.html
 doc/man/*.1
@@ -90,15 +62,10 @@ libarchive/libarchive.so.*
 
 .DS_Store
 
-bsdcat_test.log
-bsdcat_test.trs
-bsdcpio_test.log
-bsdcpio_test.trs
-bsdtar_test.log
-bsdtar_test.trs
+/*_test
+/*_test.log
+/*_test.trs
 build/autoconf/test-driver
-libarchive_test.log
-libarchive_test.trs
 test-suite.log
 
 .sw?