]> git.ipfire.org Git - thirdparty/git.git/commit
merge-recursive.[ch]: thoroughly debug these
authorElijah Newren <newren@gmail.com>
Tue, 8 Apr 2025 15:48:40 +0000 (15:48 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Apr 2025 20:59:13 +0000 (13:59 -0700)
commitad45b327c0a13718ed5955319d1e735025676cc8
treed00677c0c8a51ee271789428c13650d92418e4a0
parent75cd9ae05fbc9d3e9ccbd8923f4fad76b3ec609f
merge-recursive.[ch]: thoroughly debug these

As a wise man once told me, "Deleted code is debugged code!"  So, move
the functions that are shared between merge-recursive and merge-ort from
the former to the latter, and then debug the remainder of
merge-recursive.[ch].

Joking aside, merge-ort was always intended to replace merge-recursive.
It has numerous advantages over merge-recursive (operates much faster,
can operate without a worktree or index, and fixes a number of known
bugs and suboptimal merges).  Since we have now replaced all callers of
merge-recursive with equivalent functions from merge-ort, move the
shared functions from the former to the latter, and delete the remainder
of merge-recursive.[ch].

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/merge-strategies.adoc
Documentation/technical/sparse-checkout.adoc
Makefile
merge-ort-wrappers.h
merge-ort.c
merge-ort.h
merge-recursive.c [deleted file]
merge-recursive.h [deleted file]
meson.build