summaryrefslogtreecommitdiff
path: root/commit-reach.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2021-01-01 02:34:39 +0000
committerJunio C Hamano <gitster@pobox.com>2021-01-04 10:40:45 -0800
commit0ccfa4e5d8489abe7c5d3fe29b68e4fe0cae6fe1 (patch)
tree7ff5c7ba2b9910609f1ed191449fe75dcb7b4204 /commit-reach.c
parentc5a6f65527aa3b6f5d7cf25437a88d8727ab0646 (diff)
merge-ort: handle D/F conflict where directory disappears due to merge
When one side has a directory at a given path and the other side of history has a file at the path, but the merge resolves the directory away (e.g. because no path within that directory was modified and the other side deleted it, or because renaming moved all the files elsewhere), then we don't actually have a conflict anymore. We just need to clear away any information related to the relevant directory, and then the subsequent process_entry() handling can handle the given path. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-reach.c')
0 files changed, 0 insertions, 0 deletions