mirror of
https://github.com/git/git.git
synced 2024-11-25 02:44:48 +08:00
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
ef98c5cafb
, so there is no need to check for it
it in git-svn.
Signed-off-by: Andrew Myrick <amyrick@apple.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
This commit is contained in:
parent
7a955a5365
commit
063681d72e
@ -2451,12 +2451,6 @@ sub get_commit_parents {
|
||||
next if $seen{$p};
|
||||
$seen{$p} = 1;
|
||||
push @ret, $p;
|
||||
# MAXPARENT is defined to 16 in commit-tree.c:
|
||||
last if @ret >= 16;
|
||||
}
|
||||
if (@tmp) {
|
||||
die "r$log_entry->{revision}: No room for parents:\n\t",
|
||||
join("\n\t", @tmp), "\n";
|
||||
}
|
||||
@ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user