Merge branch 'jk/pack-bitmap'
* jk/pack-bitmap: pack-objects: do not reuse packfiles without --delta-base-offset add `ignore_missing_links` mode to revwalk
This commit is contained in:
@ -2960,9 +2960,11 @@ static struct commit *get_revision_1(struct rev_info *revs)
|
||||
if (revs->max_age != -1 &&
|
||||
(commit->date < revs->max_age))
|
||||
continue;
|
||||
if (add_parents_to_list(revs, commit, &revs->commits, NULL) < 0)
|
||||
die("Failed to traverse parents of commit %s",
|
||||
sha1_to_hex(commit->object.sha1));
|
||||
if (add_parents_to_list(revs, commit, &revs->commits, NULL) < 0) {
|
||||
if (!revs->ignore_missing_links)
|
||||
die("Failed to traverse parents of commit %s",
|
||||
sha1_to_hex(commit->object.sha1));
|
||||
}
|
||||
}
|
||||
|
||||
switch (simplify_commit(revs, commit)) {
|
||||
|
Reference in New Issue
Block a user