]> git.ipfire.org Git - thirdparty/git.git/blame - t/helper/test-bitmap.c
pack-bitmap: drop bitmap_index argument from try_partial_reuse()
[thirdparty/git.git] / t / helper / test-bitmap.c
CommitLineData
483fa7f4
TB
1#include "test-tool.h"
2#include "cache.h"
3#include "pack-bitmap.h"
4
5static int bitmap_list_commits(void)
6{
7 return test_bitmap_commits(the_repository);
8}
9
10int cmd__bitmap(int argc, const char **argv)
11{
12 setup_git_directory();
13
14 if (argc != 2)
15 goto usage;
16
17 if (!strcmp(argv[1], "list-commits"))
18 return bitmap_list_commits();
19
20usage:
21 usage("\ttest-tool bitmap list-commits");
22
23 return -1;
24}