summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 56b5e94)
raw | patch | inline | side by side (parent: 56b5e94)
author | Fredrik Kuivinen <freku045@student.liu.se> | |
Sat, 3 Dec 2005 10:40:21 +0000 (11:40 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 3 Dec 2005 20:28:52 +0000 (12:28 -0800) |
This way it is possible to test in scripts if the merge was non-clean
or if the strategy had other problems with the merge.
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
or if the strategy had other problems with the merge.
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-merge.sh | patch | blob | history |
diff --git a/git-merge.sh b/git-merge.sh
index d352a3cf65e45e0da0a8ee1989e9acb522e132b5..a221daa7f4882892b29b19b156dfc31986fc8912 100755 (executable)
--- a/git-merge.sh
+++ b/git-merge.sh
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.