Skip to content

Commit 66eb64c

Browse files
Eric WongJunio C Hamano
authored andcommitted
rebase: get rid of outdated MRESOLVEMSG
There was a time when rebase --skip didn't work when used with --merge, but that is no more so we don't need that message anymore. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 33ebb87 commit 66eb64c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

git-rebase.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ When you have resolved this problem run \"git rebase --continue\".
3434
If you would prefer to skip this patch, instead run \"git rebase --skip\".
3535
To restore the original branch and stop rebasing run \"git rebase --abort\".
3636
"
37-
38-
MRESOLVEMSG="
39-
When you have resolved this problem run \"git rebase --continue\".
40-
To restore the original branch and stop rebasing run \"git rebase --abort\".
41-
"
4237
unset newbase
4338
strategy=recursive
4439
do_merge=
@@ -54,7 +49,7 @@ continue_merge () {
5449
then
5550
echo "You still have unmerged paths in your index"
5651
echo "did you forget update-index?"
57-
die "$MRESOLVEMSG"
52+
die "$RESOLVEMSG"
5853
fi
5954

6055
if test -n "`git-diff-index HEAD`"
@@ -87,11 +82,11 @@ call_merge () {
8782
;;
8883
1)
8984
test -d "$GIT_DIR/rr-cache" && git-rerere
90-
die "$MRESOLVEMSG"
85+
die "$RESOLVEMSG"
9186
;;
9287
2)
9388
echo "Strategy: $rv $strategy failed, try another" 1>&2
94-
die "$MRESOLVEMSG"
89+
die "$RESOLVEMSG"
9590
;;
9691
*)
9792
die "Unknown exit code ($rv) from command:" \

0 commit comments

Comments
 (0)