Skip to content

Commit 063681d

Browse files
andrewmyrickEric Wong
authored andcommitted
git-svn: Remove obsolete MAXPARENT check
Change git-svn not to impose a limit of 16 parents on a merge. This limit in git-svn artificially prevents cloning svn repositories that contain commits with more than 16 merge parents. The limit was removed from builtin-commit-tree.c for git v1.6.0 in commit ef98c5c, so there is no need to check for it it in git-svn. Signed-off-by: Andrew Myrick <[email protected]> Acked-by: Eric Wong <[email protected]>
1 parent 7a955a5 commit 063681d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

git-svn.perl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2451,12 +2451,6 @@ sub get_commit_parents {
24512451
next if $seen{$p};
24522452
$seen{$p} = 1;
24532453
push @ret, $p;
2454-
# MAXPARENT is defined to 16 in commit-tree.c:
2455-
last if @ret >= 16;
2456-
}
2457-
if (@tmp) {
2458-
die "r$log_entry->{revision}: No room for parents:\n\t",
2459-
join("\n\t", @tmp), "\n";
24602454
}
24612455
@ret;
24622456
}

0 commit comments

Comments
 (0)