| 280 | } |
| 281 | |
| 282 | static void repack_prepare_midx_command(struct child_process *cmd, |
| 283 | struct repack_write_midx_opts *opts, |
| 284 | const char *subcommand) |
| 285 | { |
| 286 | cmd->git_cmd = 1; |
| 287 | |
| 288 | strvec_pushl(&cmd->args, "multi-pack-index", subcommand, NULL); |
| 289 | |
| 290 | if (opts->show_progress) |
| 291 | strvec_push(&cmd->args, "--progress"); |
| 292 | else |
| 293 | strvec_push(&cmd->args, "--no-progress"); |
| 294 | |
| 295 | if (opts->write_bitmaps) |
| 296 | strvec_push(&cmd->args, "--bitmap"); |
| 297 | } |
| 298 | |
| 299 | static int repack_fill_midx_stdin_packs(struct child_process *cmd, |
| 300 | struct string_list *include, |
no test coverage detected