| 233 | } |
| 234 | |
| 235 | int cmd_bundle(int argc, |
| 236 | const char **argv, |
| 237 | const char *prefix, |
| 238 | struct repository *repo) |
| 239 | { |
| 240 | parse_opt_subcommand_fn *fn = NULL; |
| 241 | struct option options[] = { |
| 242 | OPT_SUBCOMMAND("create", &fn, cmd_bundle_create), |
| 243 | OPT_SUBCOMMAND("verify", &fn, cmd_bundle_verify), |
| 244 | OPT_SUBCOMMAND("list-heads", &fn, cmd_bundle_list_heads), |
| 245 | OPT_SUBCOMMAND("unbundle", &fn, cmd_bundle_unbundle), |
| 246 | OPT_END() |
| 247 | }; |
| 248 | |
| 249 | argc = parse_options(argc, argv, prefix, options, builtin_bundle_usage, |
| 250 | 0); |
| 251 | |
| 252 | packet_trace_identity("bundle"); |
| 253 | |
| 254 | return !!fn(argc, argv, prefix, repo); |
| 255 | } |
nothing calls this directly
no test coverage detected