commitinfo 1.1 KB

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