Merge branch 'jk/core-use-replace-refs'
[gitweb.git] / packfile.c
index 7cd45aa4b2a0e098d597e4dea633d9b097b9b94c..6974903e581ae4517979ec083da844bde3034c8f 100644 (file)
@@ -1934,7 +1934,7 @@ static int add_promisor_object(const struct object_id *oid,
                               void *set_)
 {
        struct oidset *set = set_;
-       struct object *obj = parse_object(oid);
+       struct object *obj = parse_object(the_repository, oid);
        if (!obj)
                return 1;