OSDN Git Service

Merge branch 'jk/ignore-broken-tags-when-ignoring-missing-links' into maint
[git-core/git.git] / revision.c
index 7ff61ff..67ebc6f 100644 (file)
@@ -230,7 +230,7 @@ static struct commit *handle_commit(struct rev_info *revs,
                        die("bad tag");
                object = parse_object(tag->tagged->oid.hash);
                if (!object) {
-                       if (flags & UNINTERESTING)
+                       if (revs->ignore_missing_links || (flags & UNINTERESTING))
                                return NULL;
                        die("bad object %s", oid_to_hex(&tag->tagged->oid));
                }