merge script: tweak unmerged files message to match builtin
Before: You are in the middle of a conflicted merge. After: Merge is not possible because you have unmerged files. I prefer the old message, but the new one is more consistent with other commands and tests expect it. In particular, without this change the scripted merge does not pass t3030. Based on v1.7.0-rc0~66^2 (Be more user-friendly when refusing to do something because of conflict., 2010-01-12). Cc: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jonathan Nieder committed
Aug 17, 2010 at 02:03 UTC
64048d670b4810125493ff0a2bab88cb12344e7f
1 file changed
+1
-1
contrib/examples/git-merge.sh
+1
-1
@@ -25,7 +25,7 @@ require_work_tree
25
cd_to_toplevel
26
27
test -z "$(git ls-files -u)" ||
28
- die "You are in the middle of a conflicted merge."
28
+ die "Merge is not possible because you have unmerged files."
29
30
LF='
31
'