cvs: CVSROOT / loginfo.pl
| From: | Sascha Schumann | Date: | Sun, 03 Dec 2000 07:39:16 +0000 |
| Subject: | cvs: CVSROOT / loginfo.pl | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2869@lists.php.net to get a copy of this message | ||
sas Sat Dec 2 23:39:16 2000 EDT
Modified files:
/CVSROOT loginfo.pl
Log:
Display branch in the message body
Submitted by: Jon Parise <jon@csh.rit.edu>
Index: CVSROOT/loginfo.pl
diff -u CVSROOT/loginfo.pl:1.36 CVSROOT/loginfo.pl:1.37
--- CVSROOT/loginfo.pl:1.36 Fri Oct 20 16:57:56 2000
+++ CVSROOT/loginfo.pl Sat Dec 2 23:39:15 2000
@@ -191,7 +191,8 @@
$DAYABBR[$gmtime[6]], $gmtime[3], $MONABBR[$gmtime[4]],
$gmtime[5] + 1900, $gmtime[2], $gmtime[1], $gmtime[0]);
-$tag = $tag ? "($tag)" : '';
+my $subj_tag = $tag ? "($tag)" : '';
+my $body_tag = $tag ? " Branch: $tag\n\n" : '';
no strict; # quiet warnings after here
@@ -201,10 +202,11 @@
"To: $mailto\n".
$msgid.
$rfc822date.
- "Subject: cvs: $module$tag $subj\n";
+ "Subject: cvs: $module$subj_tag $subj\n";
my $common_body = "".
"$cvsuser\t\t".localtime()." EDT\n".
+ "$body_tag".
"$msg".
" Log:\n".
&indent($logmsg,2)."\n";