#define USE_THE_REPOSITORY_VARIABLE #include "test-tool.h" #include "hex.h" #include "midx.h" #include "repository.h" #include "object-store-ll.h" #include "pack-bitmap.h" #include "packfile.h" #include "setup.h" #include "gettext.h" #include "pack-revindex.h" static int read_midx_file(const char *object_dir, const char *checksum, int show_objects) { … } static int read_midx_checksum(const char *object_dir) { … } static int read_midx_preferred_pack(const char *object_dir) { … } static int read_midx_bitmapped_packs(const char *object_dir) { … } int cmd__read_midx(int argc, const char **argv) { … }