Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-06-22 08:15:27 +0400
committerJunio C Hamano <gitster@pobox.com>2009-06-22 08:15:27 +0400
commitd836118be990867be3a4d3ce932f58d761e5e612 (patch)
tree5d8d0f02e79fec24bf034d1660c81f70e4423512 /t
parent6019b3ce8d178ed99d37b32cc2c523c25f0d58a1 (diff)
parentc8c562a238071843c64ea0f3a2c85481606da379 (diff)
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
'