CVSROOT: cvslog.pl - separate Subject key and value

glen glen at pld-linux.org
Wed May 7 17:20:46 CEST 2008


Author: glen                         Date: Wed May  7 15:20:46 2008 GMT
Module: CVSROOT                       Tag: HEAD
---- Log message:
- separate Subject key and value

---- Files affected:
CVSROOT:
   cvslog.pl (1.76 -> 1.77) 

---- Diffs:

================================================================
Index: CVSROOT/cvslog.pl
diff -u CVSROOT/cvslog.pl:1.76 CVSROOT/cvslog.pl:1.77
--- CVSROOT/cvslog.pl:1.76	Fri Feb 15 13:46:01 2008
+++ CVSROOT/cvslog.pl	Wed May  7 17:20:40 2008
@@ -376,7 +376,7 @@
 
 my ($subj);
 $subj_file_list =~ s/, $/ /;
-$subj = "Subject: $module".($tag?" ($tag)":"").": ".($subj_files?$subj_file_list:"").$logmsg;
+$subj = "$module".($tag?" ($tag)":"").": ".($subj_files?$subj_file_list:"").$logmsg;
 $subj =~ s/\n/ /g; $subj =~ s/ *$//;
 $subj = substr($subj, 0, $subj_maxlength-3) . '...' if (length($subj) > $subj_maxlength);
 my $keywords="DEV-$user, MOD-$module, TAG-".($tag?$tag:"HEAD").", ". $subj_file_list;
@@ -388,7 +388,7 @@
 X-CVS: $user\@$project:$module
 X-CVS-Module: $module
 User-Agent: cvslog.pl/$VERSION
-$subj
+Subject: $subj
 Message-ID: $messageid
 MIME-Version: 1.0
 Content-Transfer-Encoding: $mail_contenttransen
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/CVSROOT/cvslog.pl?r1=1.76&r2=1.77&f=u



More information about the pld-cvs-commit mailing list