git-merge: Exit with code 2 if no strategy was able to handle the merge.
[git.git] / git-merge.sh
index d352a3c..a221daa 100755 (executable)
@@ -273,7 +273,8 @@ fi
 case "$best_strategy" in
 '')
        restorestate
-       die "No merge strategy handled the merge."
+       echo >&2 "No merge strategy handled the merge."
+       exit 2
        ;;
 "$wt_strategy")
        # We already have its result in the working tree.