| 312 | } |
| 313 | |
| 314 | static int cmd_multi_pack_index_verify(int argc, const char **argv, |
| 315 | const char *prefix, |
| 316 | struct repository *repo UNUSED) |
| 317 | { |
| 318 | struct option *options; |
| 319 | static struct option builtin_multi_pack_index_verify_options[] = { |
| 320 | OPT_END(), |
| 321 | }; |
| 322 | struct odb_source *source; |
| 323 | |
| 324 | options = add_common_options(builtin_multi_pack_index_verify_options); |
| 325 | |
| 326 | trace2_cmd_mode(argv[0]); |
| 327 | |
| 328 | if (isatty(2)) |
| 329 | opts.flags |= MIDX_PROGRESS; |
| 330 | argc = parse_options(argc, argv, prefix, |
| 331 | options, builtin_multi_pack_index_verify_usage, |
| 332 | 0); |
| 333 | if (argc) |
| 334 | usage_with_options(builtin_multi_pack_index_verify_usage, |
| 335 | options); |
| 336 | source = handle_object_dir_option(the_repository); |
| 337 | |
| 338 | FREE_AND_NULL(options); |
| 339 | |
| 340 | return verify_midx_file(source, opts.flags); |
| 341 | } |
| 342 | |
| 343 | static int cmd_multi_pack_index_expire(int argc, const char **argv, |
| 344 | const char *prefix, |
nothing calls this directly
no test coverage detected