summaryrefslogtreecommitdiffstats
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/commitinfo21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/examples/commitinfo b/gnu/usr.bin/cvs/examples/commitinfo
new file mode 100644
index 0000000..bdb94b6
--- /dev/null
+++ b/gnu/usr.bin/cvs/examples/commitinfo
@@ -0,0 +1,21 @@
+#
+# commitinfo,v 1.2 1992/03/31 04:19:47 berliner Exp
+#
+# The "commitinfo" file is used to control pre-commit checks.
+# The filter on the right is invoked with the repository and a list
+# of files to check. A non-zero exit of the filter program will
+# 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.
+#
+# 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.
+#
+^cvs checkforcvsid
+DEFAULT checkforid
OpenPOWER on IntegriCloud