diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-06-21 21:15:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-21 21:15:27 -0700 |
commit | d836118be990867be3a4d3ce932f58d761e5e612 (patch) | |
tree | 5d8d0f02e79fec24bf034d1660c81f70e4423512 /t | |
parent | Merge branch 'mn/maint-iconv-autoconf' into maint (diff) | |
parent | refuse to merge during a merge (diff) | |
download | tgif-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-x | t/t3030-merge-recursive.sh | 3 |
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 ' |