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

Misha Brukman brukman at cs.uiuc.edu
Fri Aug 1 16:18:00 PDT 2003


Changes in directory CVSROOT:

commit-diffs.pl updated: 1.42 -> 1.43

---
Log message:

Improve branch display: remove end-of-line marker, empty space, the word "Tag".


---
Diffs of the changes:

Index: CVSROOT/commit-diffs.pl
diff -u CVSROOT/commit-diffs.pl:1.42 CVSROOT/commit-diffs.pl:1.43
--- CVSROOT/commit-diffs.pl:1.42	Fri Aug  1 16:12:04 2003
+++ CVSROOT/commit-diffs.pl	Fri Aug  1 16:17:10 2003
@@ -95,9 +95,10 @@
   if ($s =~ /^Log Message:/) {
     $islogmessage = 1;
     next;
-  } elsif ($s =~ m/^.+Tag:/) {
+  } elsif ($s =~ m/^\s+Tag:/) {
     $branch = $s;
-    $branch =~ s/^.+Tag: (\s+)/$1/;
+    chop $branch;
+    $branch =~ s/^\s+Tag:\s([^\s]+).*/$1/;
   }
 }
 





More information about the llvm-commits mailing list