revision.c: remove implicit dependency on the_index
[gitweb.git] / pack-bitmap-write.c
index d977e9bacb19ed766dd0a501b6fbcae800bb4ae0..198fd13097a7e45c0cf04495b39f7f5c11a47cb3 100644 (file)
@@ -261,7 +261,7 @@ void bitmap_writer_build(struct packing_data *to_pack)
        if (writer.show_progress)
                writer.progress = start_progress("Building bitmaps", writer.selected_nr);
 
-       init_revisions(&revs, NULL);
+       repo_init_revisions(the_repository, &revs, NULL);
        revs.tag_objects = 1;
        revs.tree_objects = 1;
        revs.blob_objects = 1;