packfile: add repository argument to unpack_entry
[gitweb.git] / http-backend.c
index 64dde78c1b4e9f96bedc2833b1c4e5b8407c6d73..88d2a9bc40b4b02e96a6679e856e3a9d1a4a0359 100644 (file)
@@ -519,7 +519,6 @@ static void get_info_packs(struct strbuf *hdr, char *arg)
        size_t cnt = 0;
 
        select_getanyfile(hdr);
-       prepare_packed_git();
        for (p = get_packed_git(the_repository); p; p = p->next) {
                if (p->pack_local)
                        cnt++;