diff options
author | Elijah Newren <newren@gmail.com> | 2011-08-11 23:20:06 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-14 14:19:37 -0700 |
commit | 51931bf08e7de1f597d36bc2fd38b5310b6da7dd (patch) | |
tree | 1b3bc720ea90fe1bbc4609de02c680f02a0134d9 /server-info.c | |
parent | 7769a75e96f998b2f1ef51e8a2e88058f56fa519 (diff) | |
download | git-51931bf08e7de1f597d36bc2fd38b5310b6da7dd.tar.gz |
merge-recursive: Improve handling of rename target vs. directory addition
When dealing with file merging and renames and D/F conflicts and possible
criss-cross merges (how's that for a corner case?), we did not do a
thorough job ensuring the index and working directory had the correct
contents. Fix the logic in merge_content() to handle this. Also,
correct some erroneous tests in t6022 that were expecting the wrong number
of unmerged index entries. These changes fix one of the tests in t6042
(and almost fix another one from t6042 as well).
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'server-info.c')
0 files changed, 0 insertions, 0 deletions