git-merge: Exit with code 2 if no strategy was able to handle the merge.
[gitweb.git] / git-merge.sh
index d352a3cf65e45e0da0a8ee1989e9acb522e132b5..a221daa7f4882892b29b19b156dfc31986fc8912 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.