1#include "test-tool.h"
2#include "cache.h"
34
int cmd__read_cache(int argc, const char **argv)
5{
6int i, cnt = 1;
7if (argc == 2)
8cnt = strtol(argv[1], NULL, 0);
9setup_git_directory();
10for (i = 0; i < cnt; i++) {
11read_cache();
12discard_cache();
13}
14return 0;
15}