summaryrefslogtreecommitdiffstats
path: root/CVSROOT/cfg_local.pm
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-02-28 21:18:03 +0000
committerpeter <peter@FreeBSD.org>2003-02-28 21:18:03 +0000
commit5b1c6d642832b0f256135efeaeababdc2aa0c1db (patch)
treef5c64ac7071de75f13f496ed0322e52c7a22c84b /CVSROOT/cfg_local.pm
parent0854a26510ae0e93b50166687005156bff01df0f (diff)
downloadFreeBSD-ports-5b1c6d642832b0f256135efeaeababdc2aa0c1db.zip
FreeBSD-ports-5b1c6d642832b0f256135efeaeababdc2aa0c1db.tar.gz
Add commit attributes if set
Diffstat (limited to 'CVSROOT/cfg_local.pm')
-rw-r--r--CVSROOT/cfg_local.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/CVSROOT/cfg_local.pm b/CVSROOT/cfg_local.pm
index 923a37e..ceea0fd 100644
--- a/CVSROOT/cfg_local.pm
+++ b/CVSROOT/cfg_local.pm
@@ -30,6 +30,10 @@ $MAILCMD = "/usr/local/bin/mailsend -H";
$MAIL_BRANCH_HDR = "X-FreeBSD-CVS-Branch";
$ADD_TO_LINE = 0;
$MAILBANNER = "FreeBSD ports repository";
+if (defined $ENV{'CVS_COMMIT_ATTRIB'}) {
+ my $attrib = $ENV{'CVS_COMMIT_ATTRIB'};
+ $MAILBANNER .= " ($attrib committer)";
+}
# Sanity check to make sure we've been run through the wrapper and are
# now primary group 'pcvs'.
OpenPOWER on IntegriCloud