Skip to content

Commit 89c7ae9

Browse files
Martin von Zweigbergkgitster
authored andcommitted
rebase: show consistent conflict resolution hint
When rebase stops due to conflict, interactive rebase currently displays a different hint to the user than non-interactive rebase does. Use the same message for both types of rebase. Signed-off-by: Martin von Zweigbergk <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 46df82d commit 89c7ae9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

git-rebase--interactive.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ amend="$dotest"/amend
8181
rewritten_list="$dotest"/rewritten-list
8282
rewritten_pending="$dotest"/rewritten-pending
8383

84-
GIT_CHERRY_PICK_HELP="\
85-
hint: after resolving the conflicts, mark the corrected paths
86-
hint: with 'git add <paths>' and run 'git rebase --continue'"
84+
GIT_CHERRY_PICK_HELP="$resolvemsg"
8785
export GIT_CHERRY_PICK_HELP
8886

8987
warn () {

0 commit comments

Comments
 (0)