567
return ret;
568
}
569
570
-static const char *resolvemsg =
571
-N_("Resolve all conflicts manually, mark them as resolved with\n"
572
-"\"git add/rm <conflicted_files>\", then run \"git rebase --continue\".\n"
573
-"You can instead skip this commit: run \"git rebase --skip\".\n"
574
-"To abort and get back to the state before \"git rebase\", run "
575
-"\"git rebase --abort\".");
576
-
570
static int run_am(struct rebase_options *opts)
571
{
572
struct child_process am = CHILD_PROCESS_INIT;
580
opts->reflog_action);
581
if (opts->action == ACTION_CONTINUE) {
582
strvec_push(&am.args, "--resolved");
590
- strvec_pushf(&am.args, "--resolvemsg=%s", resolvemsg);
583
+ strvec_pushf(&am.args, "--resolvemsg=%s", rebase_resolvemsg);
584
if (opts->gpg_sign_opt)
585
strvec_push(&am.args, opts->gpg_sign_opt);
586
status = run_command(&am);
591
}
592
if (opts->action == ACTION_SKIP) {
593
strvec_push(&am.args, "--skip");
601
- strvec_pushf(&am.args, "--resolvemsg=%s", resolvemsg);
594
+ strvec_pushf(&am.args, "--resolvemsg=%s", rebase_resolvemsg);
595
status = run_command(&am);
596
if (status)
597
return status;
665
666
strvec_pushv(&am.args, opts->git_am_opts.v);
667
strvec_push(&am.args, "--rebasing");
675
- strvec_pushf(&am.args, "--resolvemsg=%s", resolvemsg);
668
+ strvec_pushf(&am.args, "--resolvemsg=%s", rebase_resolvemsg);
669
strvec_push(&am.args, "--patch-format=mboxrd");
670
if (opts->allow_rerere_autoupdate == RERERE_AUTOUPDATE)
671
strvec_push(&am.args, "--rerere-autoupdate");
693
694
if (opts->type == REBASE_MERGE) {
695
/* Run sequencer-based rebase */
703
- setenv("GIT_CHERRY_PICK_HELP", resolvemsg, 1);
696
if (!(opts->flags & REBASE_INTERACTIVE_EXPLICIT))
697
setenv("GIT_SEQUENCE_EDITOR", ":", 1);
698
if (opts->gpg_sign_opt) {