Elijah Newren <newren@xxxxxxxxx> writes: >> It seems that merge_recursive() and merge_ort_recursive() are >> interface compatible and the latter can serve as a drop-in >> replacement for the former? > > Yes, merge_ort_recursive() and merge_ort_nonrecursive() were meant as > interface compatible drop-in replacements for merge_recursive() and > merge_trees(), to make it easy to switch callers over. > > There is no such replacement for merge_recursive_generic(), though, > and builtin/{am, merge-recursive, stash}.c will all need to be > modified to work with merge-ort. But merge_recursive_generic() eveantually calls into merge_recursive(); as long as you hook into the latter, you're covered, no?