[PATCH] git-commit-script fix for degenerated merge
[gitweb.git] / git-cvsimport-script
index 0ed12ff34b61295d1824f891f2fae3bafc6a4bbe..8f57396c2d815a4209e5b52cfb82465d100c4069 100755 (executable)
@@ -675,7 +675,7 @@ while(<CVS>) {
                $state = 9;
        } elsif($state == 8) {
                $logmsg .= "$_\n";
-       } elsif($state == 9 and /^\s+(\S+):(INITIAL|\d(?:\.\d+)+)->(\d(?:\.\d+)+)\s*$/) {
+       } elsif($state == 9 and /^\s+(\S+):(INITIAL|\d+(?:\.\d+)+)->(\d+(?:\.\d+)+)\s*$/) {
 #      VERSION:1.96->1.96.2.1
                my $init = ($2 eq "INITIAL");
                my $fn = $1;