conditional markdown preprocessing
[gitweb.git] / packfile.c
index 1a7d69fe32a8808dd34063c48daf61e32886b47a..f3f962af4c6ccce48a5a0175ae95de9a171288c0 100644 (file)
@@ -2122,7 +2122,7 @@ static int add_promisor_object(const struct object_id *oid,
                        oidset_insert(set, &parents->item->object.oid);
        } else if (obj->type == OBJ_TAG) {
                struct tag *tag = (struct tag *) obj;
-               oidset_insert(set, &tag->tagged->oid);
+               oidset_insert(set, get_tagged_oid(tag));
        }
        return 0;
 }