t/lib-git-daemon: fix signal checking
[gitweb.git] / commit-graph.c
index 3a183abd1ff4dee77bc342c706812f015fa5f437..4c6127088ff96282fbcdc98ef5767281e52846e9 100644 (file)
@@ -515,7 +515,7 @@ static int add_packed_commits(const struct object_id *oid,
        struct object_info oi = OBJECT_INFO_INIT;
 
        oi.typep = &type;
-       if (packed_object_info(pack, offset, &oi) < 0)
+       if (packed_object_info(the_repository, pack, offset, &oi) < 0)
                die("unable to get type of object %s", oid_to_hex(oid));
 
        if (type != OBJ_COMMIT)