diff options
author | Elijah Newren <newren@gmail.com> | 2020-12-15 18:28:06 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-15 17:18:32 -0800 |
commit | 6fcccbd75556d1dcc80493f6eb51109f53a5dc83 (patch) | |
tree | ae55b68dc08ba00a4d4351a6468d1b676633a1cd /apply.c | |
parent | merge-ort: add implementation of normal rename handling (diff) | |
download | tgif-6fcccbd75556d1dcc80493f6eb51109f53a5dc83.tar.xz |
merge-ort: add implementation of type-changed rename handling
Implement cases where renames are involved in type changes (i.e. the
side of history that didn't rename the file changed its type from a
regular file to a symlink or submodule). There was some code to handle
this in merge-recursive but only in the special case when the renamed
file had no content changes. The code here works differently -- it
knows process_entry() can handle mode conflicts, so it does a few
minimal tweaks to ensure process_entry() can just finish the job as
needed.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'apply.c')
0 files changed, 0 insertions, 0 deletions