packfile: allow reprepare_packed_git to handle arbitrary repositories
[gitweb.git] / pack-bitmap.c
index 22cd425788c2a716bf8d8d148c2b0709cae34646..57fec38f3f328ac4462cf188519828fc6626787d 100644 (file)
@@ -336,7 +336,7 @@ static int open_pack_bitmap(void)
 
        assert(!bitmap_git.map && !bitmap_git.loaded);
 
-       prepare_packed_git();
+       prepare_packed_git(the_repository);
        for (p = get_packed_git(the_repository); p; p = p->next) {
                if (open_pack_bitmap_1(p) == 0)
                        ret = 0;