[llvm-commits] CVS: CVSROOT

Christopher Lattner lattner at cs.uiuc.edu
Thu Sep 5 21:00:01 PDT 2002


Changes in directory CVSROOT:

commit-diffs.pl updated: 1.15 -> 1.16

---
Log message:

This will hopefully cause the subject line of messages sent to be more useful.


---
Diffs of the changes:

Index: CVSROOT/commit-diffs.pl
diff -u CVSROOT/commit-diffs.pl:1.15 CVSROOT/commit-diffs.pl:1.16
--- CVSROOT/commit-diffs.pl:1.15	Thu Sep  5 20:53:30 2002
+++ CVSROOT/commit-diffs.pl	Thu Sep  5 20:59:42 2002
@@ -101,8 +101,10 @@
 
 my $msg = "\n\nChanges in directory $changedir:\n\n";
 my $diffs = "";
+my $subject = $changedir;
 
 foreach $m (@changeItems) {
+	$subject .= " $m->{'filename'}";
 	if ($m->{'type'} eq 'add') {
 		$msg .= "$m->{'filename'} added (r$m->{'newrev'})\n";
 	} elsif ($m->{'type'} eq 'rm') {
@@ -123,5 +125,5 @@
 open TEMP, ">$TEMPFILE";
 print TEMP $msg;
 close TEMP;
-system("mailx -s 'CVS: $changedir' $target < $TEMPFILE");
+system("mailx -s 'CVS: $subject' $target < $TEMPFILE");
 unlink "$TEMPFILE";





More information about the llvm-commits mailing list