Merge branch 'jt/tags-to-promised-blobs-fix'
The lazy clone support had a few places where missing but promised objects were not correctly tolerated, which have been fixed. * jt/tags-to-promised-blobs-fix: tag: don't warn if target is missing but promised revision: tolerate promised targets of tags
This commit is contained in:
@ -251,6 +251,9 @@ static struct commit *handle_commit(struct rev_info *revs,
|
||||
if (!object) {
|
||||
if (revs->ignore_missing_links || (flags & UNINTERESTING))
|
||||
return NULL;
|
||||
if (revs->exclude_promisor_objects &&
|
||||
is_promisor_object(&tag->tagged->oid))
|
||||
return NULL;
|
||||
die("bad object %s", oid_to_hex(&tag->tagged->oid));
|
||||
}
|
||||
object->flags |= flags;
|
||||
|
Reference in New Issue
Block a user