[llvm-commits] CVS: CVSROOT/commit-diffs.pl
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 6 23:04:01 PDT 2003
Changes in directory CVSROOT:
commit-diffs.pl updated: 1.48 -> 1.49
---
Log message:
Ok, not all lines start with '+ ' or '- ', arg. Now, just filter out "+++ " and "--- " explicitly
---
Diffs of the changes: (+6 -1)
Index: CVSROOT/commit-diffs.pl
diff -u CVSROOT/commit-diffs.pl:1.48 CVSROOT/commit-diffs.pl:1.49
--- CVSROOT/commit-diffs.pl:1.48 Mon Oct 6 20:13:16 2003
+++ CVSROOT/commit-diffs.pl Mon Oct 6 23:02:50 2003
@@ -124,7 +124,12 @@
my $pluses = 0;
my $minuses = 0;
foreach my $line (split /\n/, $diffs) {
- $pluses++ if $line =~ /^\+ /; $minuses++ if $line =~ /^\- /;
+ if (!$line =~ /^\+\+\+ /) {
+ if (!$line =~ /^\-\-\- /) {
+ $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