@@ -567,13 +567,6 @@ static int move_to_original_branch(struct rebase_options *opts)
567
567
return ret ;
568
568
}
569
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
-
577
570
static int run_am (struct rebase_options * opts )
578
571
{
579
572
struct child_process am = CHILD_PROCESS_INIT ;
@@ -587,7 +580,7 @@ static int run_am(struct rebase_options *opts)
587
580
opts -> reflog_action );
588
581
if (opts -> action == ACTION_CONTINUE ) {
589
582
strvec_push (& am .args , "--resolved" );
590
- strvec_pushf (& am .args , "--resolvemsg=%s" , resolvemsg );
583
+ strvec_pushf (& am .args , "--resolvemsg=%s" , rebase_resolvemsg );
591
584
if (opts -> gpg_sign_opt )
592
585
strvec_push (& am .args , opts -> gpg_sign_opt );
593
586
status = run_command (& am );
@@ -598,7 +591,7 @@ static int run_am(struct rebase_options *opts)
598
591
}
599
592
if (opts -> action == ACTION_SKIP ) {
600
593
strvec_push (& am .args , "--skip" );
601
- strvec_pushf (& am .args , "--resolvemsg=%s" , resolvemsg );
594
+ strvec_pushf (& am .args , "--resolvemsg=%s" , rebase_resolvemsg );
602
595
status = run_command (& am );
603
596
if (status )
604
597
return status ;
@@ -672,7 +665,7 @@ static int run_am(struct rebase_options *opts)
672
665
673
666
strvec_pushv (& am .args , opts -> git_am_opts .v );
674
667
strvec_push (& am .args , "--rebasing" );
675
- strvec_pushf (& am .args , "--resolvemsg=%s" , resolvemsg );
668
+ strvec_pushf (& am .args , "--resolvemsg=%s" , rebase_resolvemsg );
676
669
strvec_push (& am .args , "--patch-format=mboxrd" );
677
670
if (opts -> allow_rerere_autoupdate == RERERE_AUTOUPDATE )
678
671
strvec_push (& am .args , "--rerere-autoupdate" );
@@ -700,7 +693,6 @@ static int run_specific_rebase(struct rebase_options *opts)
700
693
701
694
if (opts -> type == REBASE_MERGE ) {
702
695
/* Run sequencer-based rebase */
703
- setenv ("GIT_CHERRY_PICK_HELP" , resolvemsg , 1 );
704
696
if (!(opts -> flags & REBASE_INTERACTIVE_EXPLICIT ))
705
697
setenv ("GIT_SEQUENCE_EDITOR" , ":" , 1 );
706
698
if (opts -> gpg_sign_opt ) {
0 commit comments