Patchwork [04/10] mtd-utils: update .gitignore files

login
register
mail settings
Submitter Brian Norris
Date June 27, 2011, 6:27 p.m.
Message ID <1309199247-19248-5-git-send-email-computersforpeace@gmail.com>
Download mbox | patch
Permalink /patch/102252/
State New
Headers show

Comments

Brian Norris - June 27, 2011, 6:27 p.m.
First, the top-level Makefile should not tell git to ignore sub-level
.gitignore files.

Second, add simple .gitignores to ignore the executables generated under
the various `tests' subdirectories.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 .gitignore                             |    5 +++++
 tests/checkfs/.gitignore               |    2 ++
 tests/fs-tests/integrity/.gitignore    |    1 +
 tests/fs-tests/simple/.gitignore       |    5 +++++
 tests/fs-tests/stress/atoms/.gitignore |   10 ++++++++++
 tests/fs-tests/utils/.gitignore        |    2 ++
 tests/jittertest/.gitignore            |    2 ++
 7 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 tests/checkfs/.gitignore
 create mode 100644 tests/fs-tests/integrity/.gitignore
 create mode 100644 tests/fs-tests/simple/.gitignore
 create mode 100644 tests/fs-tests/stress/atoms/.gitignore
 create mode 100644 tests/fs-tests/utils/.gitignore
 create mode 100644 tests/jittertest/.gitignore

Patch

diff --git a/.gitignore b/.gitignore
index 86aee63..3a56d0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,6 +48,11 @@ 
 #
 
 #
+# git files that we don't want to ignore even it they are dot-files
+#
+!.gitignore
+
+#
 # Generated include files
 #
 /include/version.h
diff --git a/tests/checkfs/.gitignore b/tests/checkfs/.gitignore
new file mode 100644
index 0000000..52e7b5d
--- /dev/null
+++ b/tests/checkfs/.gitignore
@@ -0,0 +1,2 @@ 
+/checkfs
+/makefiles
diff --git a/tests/fs-tests/integrity/.gitignore b/tests/fs-tests/integrity/.gitignore
new file mode 100644
index 0000000..2ea8e69
--- /dev/null
+++ b/tests/fs-tests/integrity/.gitignore
@@ -0,0 +1 @@ 
+/integck
diff --git a/tests/fs-tests/simple/.gitignore b/tests/fs-tests/simple/.gitignore
new file mode 100644
index 0000000..f3ccde4
--- /dev/null
+++ b/tests/fs-tests/simple/.gitignore
@@ -0,0 +1,5 @@ 
+/ftrunc
+/orph
+/perf
+/test_1
+/test_2
diff --git a/tests/fs-tests/stress/atoms/.gitignore b/tests/fs-tests/stress/atoms/.gitignore
new file mode 100644
index 0000000..67dede0
--- /dev/null
+++ b/tests/fs-tests/stress/atoms/.gitignore
@@ -0,0 +1,10 @@ 
+/fwrite00
+/gcd_hupper
+/pdfrun
+/rmdir00
+/rndrm00
+/rndrm99
+/rndwrite00
+/stress_1
+/stress_2
+/stress_3
diff --git a/tests/fs-tests/utils/.gitignore b/tests/fs-tests/utils/.gitignore
new file mode 100644
index 0000000..f3cdf5f
--- /dev/null
+++ b/tests/fs-tests/utils/.gitignore
@@ -0,0 +1,2 @@ 
+/free_space
+/fstest_monitor
diff --git a/tests/jittertest/.gitignore b/tests/jittertest/.gitignore
new file mode 100644
index 0000000..05d4e9e
--- /dev/null
+++ b/tests/jittertest/.gitignore
@@ -0,0 +1,2 @@ 
+/JitterTest
+/plotJittervsFill