All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gitignore: differentiate between program names and directories
@ 2012-02-14  1:05 John Kacur
  0 siblings, 0 replies; only message in thread
From: John Kacur @ 2012-02-14  1:05 UTC (permalink / raw)
  To: Clark Williams; +Cc: linux-rt-users


>From 4f42b10461f3807017b8f06962adbff1b3d73e24 Mon Sep 17 
00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Tue, 14 Feb 2012 01:47:25 +0100
Subject: [PATCH] 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>
---
 .gitignore |   31 ++++++++++++++++++-------------
 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
-- 
1.7.7.6


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-14  1:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-14  1:05 [PATCH] gitignore: differentiate between program names and directories John Kacur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.