From: Martin von Zweigbergk Date: Tue, 28 Dec 2010 09:30:45 +0000 (+0100) Subject: rebase -m: don't print exit code 2 when merge fails X-Git-Tag: ko-pu~6^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6baafd848e7c238aecab4cc5ffb89a4293fcb964;p=git.git rebase -m: don't print exit code 2 when merge fails When the merge strategy fails, a message suggesting the user to try another strategy is displayed. Remove the "$rv" (which is always equal to "2" in this case) from that message. Signed-off-by: Martin von Zweigbergk Signed-off-by: Junio C Hamano --- diff --git a/git-rebase--merge.sh b/git-rebase--merge.sh index 705d2f547..4ea3ca738 100644 --- a/git-rebase--merge.sh +++ b/git-rebase--merge.sh @@ -78,7 +78,7 @@ call_merge () { die "$RESOLVEMSG" ;; 2) - echo "Strategy: $rv $strategy failed, try another" 1>&2 + echo "Strategy: $strategy failed, try another" 1>&2 die "$RESOLVEMSG" ;; *)