File: [Development] / projects / ogl-sample-old / CVSROOT / loginfo (download)
Revision 1.2, Thu Feb 17 22:57:14 2000 UTC (17 years, 8 months ago) by ljp
Branch: MAIN
Changes since 1.1: +2 -1
lines
Modified loginfo to (hoepfully) both log and send email to ljp when
changes are checked in.
CVS:
CVS:
CVS: loginfo
|
# The "loginfo" file is used to control where "cvs commit" log information is
# sent. The first entry on a line is a regular expression which is tested
# against the directory that the change is being made to, relative to the
# $CVSROOT. For the first match that is found, the remainder of the line is a
# filter program that should expect log information on its standard input
#
# If the repository name does not match any of the regular expressions in the
# first field of 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".
#
# The filter program may use one and only one "%s" modifier (ala printf). If
# such a "%s" is specified in the filter program, a brief title is included
# (as one argument, enclosed in single quotes) showing the relative directory
# name and listing the modified file names.
#
# For example:
DEFAULT (echo "---------------------"; echo "Commit by `who am i` on `date` of files:" ; echo %s ; cat) >> $CVSROOT/CVSROOT/commitlog
ALL (echo "---------------------"; echo "Commit by `who am i` on `date` of files:" ; echo %s ; cat) | Mail -s "TAKE ogl-sample" ljp@oddhack.engr.sgi.com