From 6897c4288a1bd44840f0adce4517451cf8f4c9de Mon Sep 17 00:00:00 2001 From: joe Date: Tue, 23 Oct 2001 15:47:26 +0000 Subject: Move the mail header that carries the list of branches that were committed to into the config file. --- CVSROOT/cfg.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'CVSROOT/cfg.pm') diff --git a/CVSROOT/cfg.pm b/CVSROOT/cfg.pm index 2197512..f9f1c3e 100755 --- a/CVSROOT/cfg.pm +++ b/CVSROOT/cfg.pm @@ -11,7 +11,8 @@ package cfg; use strict; use vars qw($DEBUG $FILE_PREFIX $MAILADDRS $MAILBANNER $MAILCMD - $MAIL_ON_DIR_CREATION $TMPDIR %TEMPLATE_HEADERS + $MAIL_BRANCH_HDR $MAIL_ON_DIR_CREATION + $TMPDIR %TEMPLATE_HEADERS $CHECK_HEADERS $LAST_FILE $PID $IDHEADER $UNEXPAND_RCSID); @@ -103,6 +104,10 @@ $MAILBANNER = ""; # 0 = off, 1 = on. $MAIL_ON_DIR_CREATION = 0; +# Include the names of the branches committed to in the commit email, +# using this header. (leave off the trailing ':'). Use "" if you don't +# want one. +$MAIL_BRANCH_HDR = "X-CVS-Branch"; ############################################################## @@ -125,6 +130,9 @@ if ($hostname =~ /^(freefall|internat)\.freebsd\.org$/i) { $MAILBANNER = "FreeBSD International Crypto Repository"; } $MAILADDRS = $meister if $DEBUG; + + + $MAIL_BRANCH_HDR = "X-FreeBSD-CVS-Branch:"; } -- cgit v1.1