@@ -567,13 +567,6 @@ static int move_to_original_branch(struct rebase_options *opts)
567567 return ret ;
568568}
569569
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-
577570static int run_am (struct rebase_options * opts )
578571{
579572 struct child_process am = CHILD_PROCESS_INIT ;
@@ -587,7 +580,7 @@ static int run_am(struct rebase_options *opts)
587580 opts -> reflog_action );
588581 if (opts -> action == ACTION_CONTINUE ) {
589582 strvec_push (& am .args , "--resolved" );
590- strvec_pushf (& am .args , "--resolvemsg=%s" , resolvemsg );
583+ strvec_pushf (& am .args , "--resolvemsg=%s" , rebase_resolvemsg );
591584 if (opts -> gpg_sign_opt )
592585 strvec_push (& am .args , opts -> gpg_sign_opt );
593586 status = run_command (& am );
@@ -598,7 +591,7 @@ static int run_am(struct rebase_options *opts)
598591 }
599592 if (opts -> action == ACTION_SKIP ) {
600593 strvec_push (& am .args , "--skip" );
601- strvec_pushf (& am .args , "--resolvemsg=%s" , resolvemsg );
594+ strvec_pushf (& am .args , "--resolvemsg=%s" , rebase_resolvemsg );
602595 status = run_command (& am );
603596 if (status )
604597 return status ;
@@ -672,7 +665,7 @@ static int run_am(struct rebase_options *opts)
672665
673666 strvec_pushv (& am .args , opts -> git_am_opts .v );
674667 strvec_push (& am .args , "--rebasing" );
675- strvec_pushf (& am .args , "--resolvemsg=%s" , resolvemsg );
668+ strvec_pushf (& am .args , "--resolvemsg=%s" , rebase_resolvemsg );
676669 strvec_push (& am .args , "--patch-format=mboxrd" );
677670 if (opts -> allow_rerere_autoupdate == RERERE_AUTOUPDATE )
678671 strvec_push (& am .args , "--rerere-autoupdate" );
@@ -700,7 +693,6 @@ static int run_specific_rebase(struct rebase_options *opts)
700693
701694 if (opts -> type == REBASE_MERGE ) {
702695 /* Run sequencer-based rebase */
703- setenv ("GIT_CHERRY_PICK_HELP" , resolvemsg , 1 );
704696 if (!(opts -> flags & REBASE_INTERACTIVE_EXPLICIT ))
705697 setenv ("GIT_SEQUENCE_EDITOR" , ":" , 1 );
706698 if (opts -> gpg_sign_opt ) {
0 commit comments