| 1426 | } |
| 1427 | |
| 1428 | static int dry_run_commit(const char **argv, const char *prefix, |
| 1429 | const struct commit *current_head, struct wt_status *s) |
| 1430 | { |
| 1431 | int committable; |
| 1432 | const char *index_file; |
| 1433 | |
| 1434 | index_file = prepare_index(argv, prefix, current_head, 1); |
| 1435 | committable = run_status(stdout, index_file, prefix, 0, s); |
| 1436 | rollback_index_files(); |
| 1437 | |
| 1438 | return committable ? 0 : 1; |
| 1439 | } |
| 1440 | |
| 1441 | define_list_config_array_extra(color_status_slots, {"added"}); |
| 1442 |
no test coverage detected