merge-recursive: Allow make_room_for_path() to remove D/F entries
authorElijah Newren <newren@gmail.com>
Fri, 12 Aug 2011 05:20:01 +0000 (23:20 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sun, 14 Aug 2011 21:19:36 +0000 (14:19 -0700)
commited0148a520ec2ec88f0574c2e107aba0a46936e1
tree3566f61d08552b0022f7e75bc6bf548f17d93c6a
parent86d4b528d8a4752cc689279fb6d38c8697a507bb
merge-recursive: Allow make_room_for_path() to remove D/F entries

If there were several files conflicting below a directory corresponding
to a D/F conflict, and the file of that D/F conflict is in the way, we
want it to be removed.  Since files of D/F conflicts are handled last,
they can be reinstated later and possibly with a new unique name.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c
t/t6036-recursive-corner-cases.sh