]> git.ipfire.org Git - thirdparty/git.git/commit - merge-ort.c
merge-ort: handle directory/file conflicts that remain
authorElijah Newren <newren@gmail.com>
Fri, 1 Jan 2021 02:34:40 +0000 (02:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Jan 2021 18:40:45 +0000 (10:40 -0800)
commit23366d2aa97544fe76bc86964f4493b7b89e7b22
tree60e49a337ecd131645e4c0fc90da37a62357b7ea
parent0ccfa4e5d8489abe7c5d3fe29b68e4fe0cae6fe1
merge-ort: handle directory/file conflicts that remain

When a directory/file conflict remains, we can leave the directory where
it is, but need to move the information about the file to a different
pathname.  After moving the file to a different pathname, we allow
subsequent process_entry() logic to handle any additional details that
might be relevant.

This depends on a new helper function, unique_path(), that dies with an
unimplemented error currently but will be implemented in a subsequent
commit.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-ort.c