[PATCH] Show the .cvsignore files some love

Andreas Ericsson ae at op5.se
Wed Oct 17 20:08:37 CEST 2007


This speeds up and unclutters output quite a lot when
working with the repo in git. I should think it helps
a bit when working in CVS too.

Either way, it's always prudent to let the SCM ignore
build-products. This patch does just that.

Note that I'm deliberately choosing to not ignore
include/{Makefile,nagios.h}, as I expect them to be
tracked rather than generated once my that patch
hits the upstream repo (nudge, nudge ;-)

Signed-off-by: Andreas Ericsson <ae at op5.se>
---

Also attached, for application convenience.

 .cvsignore               |    4 ++++
 base/.cvsignore          |    4 ++++
 cgi/.cvsignore           |    1 +
 common/.cvsignore        |    1 +
 contrib/.cvsignore       |    1 +
 html/.cvsignore          |    3 +++
 include/.cvsignore       |    4 ++++
 module/.cvsignore        |    1 +
 sample-config/.cvsignore |    2 ++
 xdata/.cvsignore         |    2 ++
 10 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 base/.cvsignore
 create mode 100644 common/.cvsignore
 create mode 100644 html/.cvsignore
 create mode 100644 include/.cvsignore
 create mode 100644 module/.cvsignore
 create mode 100644 sample-config/.cvsignore
 create mode 100644 xdata/.cvsignore

diff --git a/.cvsignore b/.cvsignore
index d5128cc..f3064d6 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -5,3 +5,7 @@ Prototype
 nagios.SPARC.pkg.tar.gz
 autom4te.cache
 
+config.log
+config.status
+daemon-init
+/Makefile
diff --git a/base/.cvsignore b/base/.cvsignore
new file mode 100644
index 0000000..eeeb7ba
--- /dev/null
+++ b/base/.cvsignore
@@ -0,0 +1,4 @@
+*.o
+Makefile
+nagios
+nagiostats
diff --git a/cgi/.cvsignore b/cgi/.cvsignore
index b94020f..46c15cc 100644
--- a/cgi/.cvsignore
+++ b/cgi/.cvsignore
@@ -1,2 +1,3 @@
+*.o
 *.cgi
 Makefile
diff --git a/common/.cvsignore b/common/.cvsignore
new file mode 100644
index 0000000..f3c7a7c
--- /dev/null
+++ b/common/.cvsignore
@@ -0,0 +1 @@
+Makefile
diff --git a/contrib/.cvsignore b/contrib/.cvsignore
index c933d02..4f1e93a 100644
--- a/contrib/.cvsignore
+++ b/contrib/.cvsignore
@@ -1 +1,2 @@
 perlxsi.c
+Makefile
diff --git a/html/.cvsignore b/html/.cvsignore
new file mode 100644
index 0000000..1822566
--- /dev/null
+++ b/html/.cvsignore
@@ -0,0 +1,3 @@
+Makefile
+index.html
+side.html
diff --git a/include/.cvsignore b/include/.cvsignore
new file mode 100644
index 0000000..8cf3415
--- /dev/null
+++ b/include/.cvsignore
@@ -0,0 +1,4 @@
+locations.h
+config.h
+snprintf.h
+cgiutils.h
diff --git a/module/.cvsignore b/module/.cvsignore
new file mode 100644
index 0000000..f3c7a7c
--- /dev/null
+++ b/module/.cvsignore
@@ -0,0 +1 @@
+Makefile
diff --git a/sample-config/.cvsignore b/sample-config/.cvsignore
new file mode 100644
index 0000000..32d26a5
--- /dev/null
+++ b/sample-config/.cvsignore
@@ -0,0 +1,2 @@
+*.cfg
+httpd.conf
diff --git a/xdata/.cvsignore b/xdata/.cvsignore
new file mode 100644
index 0000000..cc00087
--- /dev/null
+++ b/xdata/.cvsignore
@@ -0,0 +1,2 @@
+Makefile
+*.o
-- 
git-1.5.3.4.1207.g6d77b

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Show-the-.cvsignore-files-some-love.patch
Type: text/x-patch
Size: 3141 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20071017/6e49c592/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list