2 #include "git-compat-util.h"
3 #include "pack-bitmap.h"
6 static int bitmap_list_commits(void)
8 return test_bitmap_commits(the_repository
);
11 static int bitmap_dump_hashes(void)
13 return test_bitmap_hashes(the_repository
);
16 int cmd__bitmap(int argc
, const char **argv
)
18 setup_git_directory();
23 if (!strcmp(argv
[1], "list-commits"))
24 return bitmap_list_commits();
25 if (!strcmp(argv
[1], "dump-hashes"))
26 return bitmap_dump_hashes();
29 usage("\ttest-tool bitmap list-commits\n"
30 "\ttest-tool bitmap dump-hashes");