1993-06-18 05:46:17 +00:00
|
|
|
#
|
1995-12-10 22:31:58 +00:00
|
|
|
#ident "@(#)cvs/examples:$Name: $:$Id: commitinfo,v 1.3 1995/11/14 23:30:05 woods Exp $"
|
1993-06-18 05:46:17 +00:00
|
|
|
#
|
|
|
|
# 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
|
1995-12-10 22:31:58 +00:00
|
|
|
# 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.
|
1993-06-18 05:46:17 +00:00
|
|
|
#
|
|
|
|
# If the repository name does not match any of the regular expressions in this
|
|
|
|
# file, the "DEFAULT" line is used, if it is specified.
|
|
|
|
#
|
1995-12-10 22:31:58 +00:00
|
|
|
# If the name "ALL" appears as a regular expression it is always used
|
|
|
|
# in addition to the first matching regex or "DEFAULT".
|
1993-06-18 05:46:17 +00:00
|
|
|
#
|
1995-12-10 22:31:58 +00:00
|
|
|
# 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
|