[llvm-commits] CVS: CVSROOT/commit-diffs.pl

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 6 19:53:00 PDT 2003


Changes in directory CVSROOT:

commit-diffs.pl updated: 1.45 -> 1.46

---
Log message:

Actually search the line in question.  Avoid spamming me with lots of uninitialized value problems



---
Diffs of the changes:  (+0 -0)

Index: CVSROOT/commit-diffs.pl
diff -u CVSROOT/commit-diffs.pl:1.45 CVSROOT/commit-diffs.pl:1.46
--- CVSROOT/commit-diffs.pl:1.45	Mon Oct  6 15:57:01 2003
+++ CVSROOT/commit-diffs.pl	Mon Oct  6 19:52:39 2003
@@ -124,7 +124,7 @@
 my $pluses = 0;
 my $minuses = 0;
 foreach my $line (split /\n/, $diffs) {
-  $pluses++ if /^\+/; $minuses++ if /^\-/;
+  $pluses++ if /^\+/ $line; $minuses++ if /^\-/ $line;
 }
 $msg .= "\n---\nDiffs of the changes:  (+$pluses -$minuses)\n\n" . $diffs;
 





More information about the llvm-commits mailing list