diff options
author | joe <joe@FreeBSD.org> | 2001-12-03 20:53:05 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-12-03 20:53:05 +0000 |
commit | b43d206fd2f41f2dd6df312f0a102f5b58391b25 (patch) | |
tree | daf921bdab2c438d91e875dd2cdd6c110025b0a7 /CVSROOT/cfg.pm | |
parent | 4e8f0a2eceaf6cfff3b1457d6ec759e1d89b71d4 (diff) | |
download | FreeBSD-ports-b43d206fd2f41f2dd6df312f0a102f5b58391b25.zip FreeBSD-ports-b43d206fd2f41f2dd6df312f0a102f5b58391b25.tar.gz |
Add a new config option $NO_DOS_LINEBREAKS to stop files with wierd
line endings from getting committed.
Mostly Submitted by: jesper
Diffstat (limited to 'CVSROOT/cfg.pm')
-rwxr-xr-x | CVSROOT/cfg.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CVSROOT/cfg.pm b/CVSROOT/cfg.pm index ede8858..447fd03 100755 --- a/CVSROOT/cfg.pm +++ b/CVSROOT/cfg.pm @@ -18,8 +18,8 @@ use vars qw( @COMMIT_HOSTS $COMMITTER $DEBUG $EXCLUDE_FILE $FILE_PREFIX $IDHEADER $LAST_FILE @LOG_FILE_MAP $MAILADDRS $MAILBANNER $MAILCMD $MAIL_BRANCH_HDR $MAIL_ON_DIR_CREATION $MAIL_TRANSFORM $MINCVSVERSION - $MAX_DIFF_SIZE $PID $PROG_CVS $PROG_MV %TEMPLATE_HEADERS $TMPDIR - $UNEXPAND_RCSID $WARN_HEADERS + $MAX_DIFF_SIZE $NO_DOS_LINEBREAKS $PID $PROG_CVS $PROG_MV + %TEMPLATE_HEADERS $TMPDIR $UNEXPAND_RCSID $WARN_HEADERS ); my $CVSROOT = $ENV{'CVSROOT'} || die "Can't determine \$CVSROOT!"; @@ -140,6 +140,10 @@ $IDHEADER = 'CVSHeader'; # the repository as part of the delta. $UNEXPAND_RCSID = 0; +# Check for DOS/WINDOWS/MAC linebreaks in the file, bomb out if present. +# Exclusions can be specified in the exclude file. +$NO_DOS_LINEBREAKS = 0; + #################### ### log_accum.pl ### |