[PHP-DEV] cvs: CVSROOT / From: Andrei Zmievski (andrei <email protected>)
Date: 05/12/00

andrei Fri May 12 14:43:32 2000 EDT

  Modified files:
    /CVSROOT loginfo.pl
  Log:
  Restore filenames in commit email subject.
  
  
Index: CVSROOT/loginfo.pl
diff -u CVSROOT/loginfo.pl:1.25 CVSROOT/loginfo.pl:1.26
--- CVSROOT/loginfo.pl:1.25 Sun May 7 20:48:54 2000
+++ CVSROOT/loginfo.pl Fri May 12 14:43:32 2000
@@ -139,22 +139,29 @@
 
 # build our email
 my $msg = "";
+my $subj = "";
+
 if($#added_files ne -1) {
+ $list = &build_list( <email protected>);
         $msg .= "\n Added files:";
- $msg .= &build_list( <email protected>);
+ $msg .= $list;
+ $subj .= $list;
 }
 if($#removed_files ne -1) {
+ $list = &build_list( <email protected>);
         $msg .= "\n Removed files:";
- $msg .= &build_list( <email protected>);
+ $msg .= $list;
+ $subj .= $list;
 }
 if($#modified_files ne -1) {
+ $list = &build_list( <email protected>);
         $msg .= "\n Modified files:";
- $msg .= &build_list( <email protected>);
+ $msg .= $list;
+ $subj .= $list;
 }
 
-my $dirs .= join ' ', &get_dirs( <email protected>,  <email protected>,  <email protected>);
 # replace all whitespace with real spaces, and collapse consecutive spaces
-$dirs =~ s/\s+/ /g;
+$subj =~ s/\s+/ /g;
 
 my $msgid = "Message-ID: <cvs$cvsuser".time()."\ <email protected>>\n";
 
@@ -195,7 +202,7 @@
 "To: $mailto\n".
 $msgid.
 $rfc822date.
-"Subject: cvs: $module$tag $dirs\n".
+"Subject: cvs: $subj\n".
 "\n".
 "$cvsuser\t\t".localtime()." EDT\n".
 "$msg".

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>