summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/examples/commitinfo
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/examples/commitinfo')
-rw-r--r--gnu/usr.bin/cvs/examples/commitinfo22
1 files changed, 14 insertions, 8 deletions
diff --git a/gnu/usr.bin/cvs/examples/commitinfo b/gnu/usr.bin/cvs/examples/commitinfo
index 7e602e2b2cb4..39647983b609 100644
--- a/gnu/usr.bin/cvs/examples/commitinfo
+++ b/gnu/usr.bin/cvs/examples/commitinfo
@@ -1,5 +1,5 @@
#
-# $Id: commitinfo,v 1.2 1992/03/31 04:19:47 berliner Exp $
+#ident "@(#)cvs/examples:$Name: $:$Id: commitinfo,v 1.3 1995/11/14 23:30:05 woods Exp $"
#
# The "commitinfo" file is used to control pre-commit checks.
# The filter on the right is invoked with the repository and a list
@@ -7,15 +7,21 @@
# cause the commit to be aborted.
#
# The first entry on a line is a regular expression which is tested
-# against the directory that the change is being committed to, relative to the
-# $CVSROOT. If a match is found, then the remainder of the line is the
-# name of the filter to run.
+# against the directory that the change is being committed to, relative
+# to the $CVSROOT. For the first match that is found, then the remainder
+# of the line is the name of the filter to run.
#
# If the repository name does not match any of the regular expressions in this
# file, the "DEFAULT" line is used, if it is specified.
#
-# If the name ALL appears as a regular expression it is always used
-# in addition to the first matching regex or DEFAULT.
+# If the name "ALL" appears as a regular expression it is always used
+# in addition to the first matching regex or "DEFAULT".
#
-^cvs checkforcvsid
-DEFAULT checkforid
+# NOTE: contrib/commit_prep usage:
+# -r - record directories affected by commit for use with contrib/log_accum
+# -c - check for things like "$Id" near head of file, no "$Log", etc.
+#
+^apc $CVSROOT/CVSROOT/commit_prep -r -c
+^misc $CVSROOT/CVSROOT/commit_prep -r
+CVSROOT $CVSROOT/CVSROOT/commit_prep -r -c
+DEFAULT $CVSROOT/CVSROOT/commit_prep