| 3299 | } |
| 3300 | |
| 3301 | static void write_strategy_opts(struct replay_opts *opts) |
| 3302 | { |
| 3303 | struct strbuf buf = STRBUF_INIT; |
| 3304 | |
| 3305 | /* |
| 3306 | * Quote strategy options so that they can be read correctly |
| 3307 | * by split_cmdline(). |
| 3308 | */ |
| 3309 | quote_cmdline(&buf, opts->xopts.v); |
| 3310 | write_file(rebase_path_strategy_opts(), "%s\n", buf.buf); |
| 3311 | strbuf_release(&buf); |
| 3312 | } |
| 3313 | |
| 3314 | int write_basic_state(struct replay_opts *opts, const char *head_name, |
| 3315 | struct commit *onto, const struct object_id *orig_head) |
no test coverage detected