| 299 | } |
| 300 | |
| 301 | int cmd_cherry_pick(int argc, |
| 302 | const char **argv, |
| 303 | const char *prefix, |
| 304 | struct repository *repo UNUSED) |
| 305 | { |
| 306 | struct replay_opts opts = REPLAY_OPTS_INIT; |
| 307 | int res; |
| 308 | |
| 309 | #ifndef WITH_BREAKING_CHANGES |
| 310 | warn_on_auto_comment_char = true; |
| 311 | #endif /* !WITH_BREAKING_CHANGES */ |
| 312 | opts.action = REPLAY_PICK; |
| 313 | sequencer_init_config(&opts); |
| 314 | res = run_sequencer(argc, argv, prefix, &opts); |
| 315 | if (res < 0) |
| 316 | die(_("cherry-pick failed")); |
| 317 | replay_opts_release(&opts); |
| 318 | return res; |
| 319 | } |
nothing calls this directly
no test coverage detected