merge-ort: implement handle_path_level_conflicts()
authorElijah Newren <redacted>
Tue, 19 Jan 2021 19:53:49 +0000 (19:53 +0000)
committerJunio C Hamano <redacted>
Thu, 21 Jan 2021 06:18:55 +0000 (22:18 -0800)
commitbea433655a79b7fbc04444508c55f13ece942a21
treec2dacab3b28e8930b665e7c7bd999d64d387e2d9
parent47325e8533a35ee48e85f85543e4f054d21a36c1
merge-ort: implement handle_path_level_conflicts()

This is copied from merge-recursive.c, with minor tweaks due to:
  * using strmap API
  * merge-ort not using the non_unique_new_dir field, since it'll
    obviate its need entirely later with performance improvements
  * adding a new path_in_way() function that uses opt->priv->paths
    instead of doing an expensive tree_has_path() lookup to see if
    a tree has a given path.

Signed-off-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
merge-ort.c
git clone https://git.99rst.org/PROJECT