1: # The "commitinfo" file is used to control pre-commit checks.
2: # The filter on the right is invoked with the repository and a list
3: # of files to check. A non-zero exit of the filter program will
4: # cause the commit to be aborted.
5: #
6: # The first entry on a line is a regular expression which is tested
7: # against the directory that the change is being committed to, relative
8: # to the $CVSROOT. For the first match that is found, then the remainder
9: # of the line is the name of the filter to run.
10: #
11: # Format strings present in the filter will be replaced as follows:
12: # %c = canonical name of the command being executed
13: # %I = unique (randomly generated) commit ID
14: # %R = the name of the referrer, if any, otherwise the value NONE
15: # %p = path relative to repository
16: # %r = repository (path portion of $CVSROOT)
17: # %{s} = file name, file name, ...
18: #
19: # If no format strings are present in the filter string, a default of
20: # " %r %s" will be appended to the filter string, but this usage is
21: # deprecated.
22: #
23: # If the repository name does not match any of the regular expressions in this
24: # file, the "DEFAULT" line is used, if it is specified.
25: #
26: # If the name "ALL" appears as a regular expression it is always used
27: # in addition to the first matching regex or "DEFAULT".
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>