aboutsummaryrefslogtreecommitdiff
path: root/t/t6020-merge-df.sh
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2010-09-20 02:29:09 -0600
committerJunio C Hamano <gitster@pobox.com>2010-09-29 17:37:05 -0700
commitef02b317212443036be6007bba3a1a5946460dc9 (patch)
tree43158534be95efba683618d518b1bcc96c7ac016 /t/t6020-merge-df.sh
parent84a08a47b9559e76df96645c536845f31ba4dc7b (diff)
downloadgit-ef02b317212443036be6007bba3a1a5946460dc9.tar.gz
git-ef02b317212443036be6007bba3a1a5946460dc9.tar.xz
merge-recursive: Make room for directories in D/F conflicts
When there are unmerged entries present, make sure to check for D/F conflicts first and remove any files present in HEAD that would be in the way of creating files below the correspondingly named directory. Such files will be processed again at the end of the merge in process_df_entry(); at that time we will be able to tell if we need to and can reinstate the file, whether we need to place its contents in a different file due to the directory still being present, etc. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6020-merge-df.sh')
-rwxr-xr-xt/t6020-merge-df.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6020-merge-df.sh b/t/t6020-merge-df.sh
index 7b1ce8270..b129f1dbd 100755
--- a/t/t6020-merge-df.sh
+++ b/t/t6020-merge-df.sh
@@ -83,7 +83,7 @@ test_expect_success 'modify/delete + directory/file conflict' '
test -f letters~modify
'
-test_expect_failure 'modify/delete + directory/file conflict; other way' '
+test_expect_success 'modify/delete + directory/file conflict; other way' '
git reset --hard &&
git clean -f &&
git checkout modify^0 &&