Annotation of CVSROOT/commitinfo, revision 1.1

1.1     ! nick        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: #    %R = the name of the referrer, if any, otherwise the value NONE
        !            14: #    %p = path relative to repository
        !            15: #    %r = repository (path portion of $CVSROOT)
        !            16: #    %{s} = file name, file name, ...
        !            17: #
        !            18: # If no format strings are present in the filter string, a default of
        !            19: # " %r %s" will be appended to the filter string, but this usage is
        !            20: # deprecated.
        !            21: #
        !            22: # If the repository name does not match any of the regular expressions in this
        !            23: # file, the "DEFAULT" line is used, if it is specified.
        !            24: #
        !            25: # If the name "ALL" appears as a regular expression it is always used
        !            26: # in addition to the first matching regex or "DEFAULT".

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>