summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-06-21 21:15:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-06-21 21:15:27 -0700
commitd836118be990867be3a4d3ce932f58d761e5e612 (patch)
tree5d8d0f02e79fec24bf034d1660c81f70e4423512 /t
parentMerge branch 'mn/maint-iconv-autoconf' into maint (diff)
parentrefuse to merge during a merge (diff)
downloadtgif-d836118be990867be3a4d3ce932f58d761e5e612.tar.xz
Merge branch 'cb/maint-no-double-merge' into maint
* cb/maint-no-double-merge: refuse to merge during a merge
Diffstat (limited to 't')
-rwxr-xr-xt/t3030-merge-recursive.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t3030-merge-recursive.sh b/t/t3030-merge-recursive.sh
index 0de613dc53..9b3fa2bdcd 100755
--- a/t/t3030-merge-recursive.sh
+++ b/t/t3030-merge-recursive.sh
@@ -276,6 +276,9 @@ test_expect_success 'fail if the index has unresolved entries' '
test_must_fail git merge "$c5" &&
test_must_fail git merge "$c5" 2> out &&
+ grep "You have not concluded your merge" out &&
+ rm -f .git/MERGE_HEAD &&
+ test_must_fail git merge "$c5" 2> out &&
grep "You are in the middle of a conflicted merge" out
'