[m-rev.] diff: Add more patterns to .gitignore files

Paul Bone paul at bone.id.au
Wed Oct 2 20:58:40 AEST 2013


Add more patterns to .gitignore files

Branches: master

A number of patterns and filenames where missing from .gitignore files,
especially in the tests/ directory.

.gitignore:
boehm_gc/.gitignore:
boehm_gc/libatomic_ops/pkgconfig/.gitignore:
runtime/.gitignore:
scripts/.gitignore:
tests/.gitignore:
tests/analysis/table/.gitignore:
tests/analysis/trail/.gitignore:
tests/benchmarks/.gitignore:
tests/debugger/.gitignore:
tests/invalid/.gitignore:
tests/mmc_make/.gitignore:
tests/mmc_make/lib/.gitignore:
    Add new patterns to .gitignore files.

    Remove some patterns that are implicit because they're in a parent
    directory's file.

tests/analysis/.gitignore:
    After removing superfluous patterns this file was empty.  I've deleted
    it.
---
 .gitignore                                  |  1 +
 boehm_gc/.gitignore                         |  2 ++
 boehm_gc/libatomic_ops/pkgconfig/.gitignore |  2 ++
 runtime/.gitignore                          |  1 +
 scripts/.gitignore                          |  1 +
 tests/.gitignore                            | 46 ++++++++++++++++++++++++-----
 tests/analysis/.gitignore                   |  9 ------
 tests/analysis/table/.gitignore             |  1 +
 tests/analysis/trail/.gitignore             |  1 +
 tests/benchmarks/.gitignore                 |  1 +
 tests/debugger/.gitignore                   |  3 ++
 tests/invalid/.gitignore                    | 30 +------------------
 tests/mmc_make/.gitignore                   |  7 +----
 tests/mmc_make/lib/.gitignore               |  4 +++
 14 files changed, 58 insertions(+), 51 deletions(-)
 create mode 100644 boehm_gc/libatomic_ops/pkgconfig/.gitignore
 delete mode 100644 tests/analysis/.gitignore
 create mode 100644 tests/analysis/table/.gitignore
 create mode 100644 tests/analysis/trail/.gitignore
 create mode 100644 tests/mmc_make/lib/.gitignore

diff --git a/.gitignore b/.gitignore
index ad7fe17..ebc6c2d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,6 +16,7 @@ Mmake.stage.params
 stage1
 stage2
 stage3
+install_grade_dir.*
 Mercury.options
 autom4te.cache
 aclocal.m4
diff --git a/boehm_gc/.gitignore b/boehm_gc/.gitignore
index 9d305a6..1ccf936 100644
--- a/boehm_gc/.gitignore
+++ b/boehm_gc/.gitignore
@@ -16,6 +16,8 @@ libgc.lib
 *.pdb
 gc_cpp.cpp
 libgc.dylib
+libgc.so
 libpar_gc.dylib
+libpar_gc.so
 libatomic_ops-install
 Makefile
diff --git a/boehm_gc/libatomic_ops/pkgconfig/.gitignore b/boehm_gc/libatomic_ops/pkgconfig/.gitignore
new file mode 100644
index 0000000..f5667a2
--- /dev/null
+++ b/boehm_gc/libatomic_ops/pkgconfig/.gitignore
@@ -0,0 +1,2 @@
+atomic_ops-uninstalled.pc
+atomic_ops.pc
diff --git a/runtime/.gitignore b/runtime/.gitignore
index 9dcebb9..5928253 100644
--- a/runtime/.gitignore
+++ b/runtime/.gitignore
@@ -18,3 +18,4 @@ mercury_method_call_codes.i
 mercury_method_call_declares.i
 mercury_method_call_inits.i
 config.log
+tags
diff --git a/scripts/.gitignore b/scripts/.gitignore
index 452b183..ce38eec 100644
--- a/scripts/.gitignore
+++ b/scripts/.gitignore
@@ -31,3 +31,4 @@ mdb.bat
 mprof.bat
 mdb
 mdbrc
+test_mdbrc
diff --git a/tests/.gitignore b/tests/.gitignore
index d5eb178..418cf1b 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -1,19 +1,51 @@
-TESTS_FLAGS
-WS_FLAGS
+*.c
+*.c_date
+*.d
+*.date
+*.date0
+*.date3
+*.dep
+*.dv
+*.err
+*.err2
+*.err_res
+*.err_res1
+*.int
+*.int0
+*.int2
+*.int3
+*.log
+*.mh
+*.mih
+.allres
 .mgnuc_copts
+.mgnuc_opts
+CLEAN
+FAILED_TESTS
+Mercury
+runtests.errs
+Prof.CallPair
+Prof.Decl
+Prof.MemoryCells
+Prof.MemoryWords
+CLEAN
 EXPECTED_FAILED_TESTS
 EXPECT_FAIL_TESTS
 FAILED_TC_DIR
+FAILED_TESTS
 FAILED_TESTS_SUMMARY
 FAIL_TESTS
-FAILED_TESTS
+Mercury
 NOMAKE_DIRS
 PASSED_TC_DIR
-UNEXPECTED_FAILED_TESTS
-mdbrc
-mdbrc.in
-runtests.errs
 Prof.CallPair
 Prof.Decl
 Prof.MemoryCells
 Prof.MemoryWords
+TESTS_FLAGS
+UNEXPECTED_FAILED_TESTS
+WS_FLAGS
+jmercury
+mdbrc
+mdbrc.in
+runtests.errs
diff --git a/tests/analysis/.gitignore b/tests/analysis/.gitignore
deleted file mode 100644
index c20ed28..0000000
--- a/tests/analysis/.gitignore
+++ /dev/null
@@ -1,9 +0,0 @@
-CLEAN
-FAILED_TESTS
-NOMAKE_DIRS
-.mgnuc_opts
-.mgnuc_copts
-Prof.CallPair
-Prof.Decl
-Prof.MemoryCells
-Prof.MemoryWords
diff --git a/tests/analysis/table/.gitignore b/tests/analysis/table/.gitignore
new file mode 100644
index 0000000..a601d33
--- /dev/null
+++ b/tests/analysis/table/.gitignore
@@ -0,0 +1 @@
+table_m1.m
diff --git a/tests/analysis/trail/.gitignore b/tests/analysis/trail/.gitignore
new file mode 100644
index 0000000..e80b9ee
--- /dev/null
+++ b/tests/analysis/trail/.gitignore
@@ -0,0 +1 @@
+trail_m1.m
diff --git a/tests/benchmarks/.gitignore b/tests/benchmarks/.gitignore
index e02a114..662054b 100644
--- a/tests/benchmarks/.gitignore
+++ b/tests/benchmarks/.gitignore
@@ -12,3 +12,4 @@ CLEAN
 .mgnuc_opts
 Prof.CallPair
 Prof.Decl
+jmercury
diff --git a/tests/debugger/.gitignore b/tests/debugger/.gitignore
index 1a4b51f..c2af57a 100644
--- a/tests/debugger/.gitignore
+++ b/tests/debugger/.gitignore
@@ -14,6 +14,7 @@
 *.int3
 *.log
 *.mh
+*.o
 .allres
 *.pic_o
 *.out
@@ -26,8 +27,10 @@ CLEAN
 FAILED_TESTS
 save_file
 dice.fail
+dice.pass
 dice.pass[1-3]
 dice.passes
+interactive.out.orig
 runtests.errs
 .mgnuc_copts
 .mgnuc_opts
diff --git a/tests/invalid/.gitignore b/tests/invalid/.gitignore
index 8a4c6b8..7764099 100644
--- a/tests/invalid/.gitignore
+++ b/tests/invalid/.gitignore
@@ -1,29 +1 @@
-*.c
-*.c_date
-*.d
-*.date
-*.date0
-*.date3
-*.dep
-*.err
-*.err_res
-*.int
-*.int0
-*.int2
-*.int3
-*.log
-*.mh
-*.mih
-*.dv
-.allres
-*.err_res1
-runtests.errs
-CLEAN
-FAILED_TESTS
-Mercury
-.mgnuc_copts
-.mgnuc_opts
-Prof.CallPair
-Prof.Decl
-Prof.MemoryCells
-Prof.MemoryWords
+foreign_decl_line_number.err.orig
diff --git a/tests/mmc_make/.gitignore b/tests/mmc_make/.gitignore
index 879976c..7c32f55 100644
--- a/tests/mmc_make/.gitignore
+++ b/tests/mmc_make/.gitignore
@@ -1,6 +1 @@
-.mgnuc_copts
-.mgnuc_opts
-Prof.CallPair
-Prof.Decl
-Prof.MemoryCells
-Prof.MemoryWords
+install
diff --git a/tests/mmc_make/lib/.gitignore b/tests/mmc_make/lib/.gitignore
new file mode 100644
index 0000000..4c2dcc1
--- /dev/null
+++ b/tests/mmc_make/lib/.gitignore
@@ -0,0 +1,4 @@
+*.a
+*.dylib
+*.init
+*.so
-- 
1.8.4.rc3




More information about the reviews mailing list