summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e30e814)
raw | patch | inline | side by side (parent: e30e814)
author | Sven Verdoolaege <skimo@liacs.nl> | |
Tue, 12 Jul 2005 21:35:32 +0000 (23:35 +0200) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Tue, 12 Jul 2005 22:37:25 +0000 (15:37 -0700) |
Previously, git-cvsimport-script would fail
on revisions with more than one digit.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
on revisions with more than one digit.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
git-cvsimport-script | patch | blob | history |
diff --git a/git-cvsimport-script b/git-cvsimport-script
index 0ed12ff34b61295d1824f891f2fae3bafc6a4bbe..8f57396c2d815a4209e5b52cfb82465d100c4069 100755 (executable)
--- a/git-cvsimport-script
+++ b/git-cvsimport-script
$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;