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 /csum-file.h | |
parent | merge-recursive: Add comments about handling rename/add-source cases (diff) | |
download | tgif-51931bf08e7de1f597d36bc2fd38b5310b6da7dd.tar.xz |
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 'csum-file.h')
0 files changed, 0 insertions, 0 deletions