summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e65ee3)
raw | patch | inline | side by side (parent: 5e65ee3)
author | Matthieu Moy <Matthieu.Moy@imag.fr> | |
Fri, 3 Sep 2010 15:25:33 +0000 (17:25 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 3 Sep 2010 16:31:59 +0000 (09:31 -0700) |
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7609-merge-co-error-msgs.sh | patch | blob | history |
index 1a109b41dc6d538490d62dd9421fd1aea0c9eb7f..114d2bd7855f71ec1d48f2017438f897c5255d36 100755 (executable)
Please move or remove them before you can merge.
EOF
-test_expect_success 'untracked files overwritten by merge' '
+test_expect_success 'untracked files overwritten by merge (fast and non-fast forward)' '
test_must_fail git merge branch 2>out &&
- test_cmp out expect
+ test_cmp out expect &&
+ git commit --allow-empty -m empty &&
+ (
+ GIT_MERGE_VERBOSITY=0 &&
+ export GIT_MERGE_VERBOSITY &&
+ test_must_fail git merge branch 2>out2
+ ) &&
+ test_cmp out2 expect &&
+ git reset --hard HEAD^
'
cat >expect <<\EOF