Skip to content

Commit

Permalink
[PATCH] git-cvsimport-script: parse multidigit revisions.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sven Verdoolaege authored and Linus Torvalds committed Jul 12, 2005
1 parent e30e814 commit d6d8dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-cvsimport-script
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d6d8dac

Please sign in to comment.