summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2012-02-14 01:47:25 +0100
committerJohn Kacur <jkacur@redhat.com>2012-03-23 02:15:19 +0100
commitd7cd65d54c33f7ce57310d8d4df6178dc250c2d1 (patch)
tree6945d68c6a487a113eb3ecd9672e0951496adeb6
parent5f1e84f8b015df3ff950056494134eca3f640d70 (diff)
downloadrt-tests-d7cd65d54c33f7ce57310d8d4df6178dc250c2d1.tar.gz
gitignore: differentiate between program names and directories
Many rt-test programs including cyclictest have directories with the same name as the generated binaries. Tell .gitignore to only ignore the program names and not the directories by using a slash prefix. Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--.gitignore31
1 files changed, 18 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index 44b3d4d..047925c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,19 +10,24 @@ releases
BUILD
RPMS
SRPMS
-classic_pi
-pi_stress
-cyclictest
-signaltest
+
+#
+# Top-level programs
+#
+/classic_pi
+/pi_stress
+/cyclictest
+/signaltest
+/hwlatdetect
+/rt-migrate-test
+/ptsematest
+/sendme
+/sigwaittest
+/svsematest
+/pip_stress
+/hackbench
+/pmqtest
+
rt-tests.spec
-hwlatdetect
tags
TAGS
-rt-migrate-test
-ptsematest
-sendme
-sigwaittest
-svsematest
-pip_stress
-hackbench
-pmqtest