From d6d8dac032e0e0c55b3edffbefd0abb00ca960fc Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 12 Jul 2005 23:35:32 +0200 Subject: [PATCH] [PATCH] git-cvsimport-script: parse multidigit revisions. Previously, git-cvsimport-script would fail on revisions with more than one digit. Signed-off-by: Sven Verdoolaege Signed-off-by: Linus Torvalds --- git-cvsimport-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-cvsimport-script b/git-cvsimport-script index 0ed12ff34..8f57396c2 100755 --- a/git-cvsimport-script +++ b/git-cvsimport-script @@ -675,7 +675,7 @@ while() { $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; -- 2.30.2