merge-ort: add basic outline for process_renames()
commitc2d267df0215d49f06638463889465389134021a
authorElijah Newren <newren@gmail.com>
Mon, 14 Dec 2020 16:21:34 +0000 (14 16:21 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Dec 2020 16:45:59 +0000 (14 08:45 -0800)
tree02d70a8b7ac7df1ee56b359d2e4af5fa380c4f1d
parent965a7bc21c6bb11fb15eb798fd472ec9deb5e3fa
merge-ort: add basic outline for process_renames()

Add code which determines which kind of special rename case each rename
corresponds to, but leave the handling of each type unimplemented for
now.  Future commits will implement each one.

There is some tenuous resemblance to merge-recursive's
process_renames(), but comparing the two is very unlikely to yield any
insights.  merge-ort's process_renames() is a bit complex and I would
prefer if I could simplify it more, but it is far easier to grok than
merge-recursive's function of the same name in my opinion.  Plus,
merge-ort handles more rename conflict types than merge-recursive does.

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