Investigating a crash with the proposed zdiff3 [1] I found some easy
improvements in the merge/xmerge code and one crash fix.
These should not cause any functional changes, even the fix doesn't
affect any current code-paths.
[1] https://lore.kernel.org/git/YMYnVWSEgxvKRU9j@coredump.intra.peff.net/ (local)
Felipe Contreras (4):
merge: simplify initialization
merge: fix Yoda conditions
xdiff/xmerge: simplify xdl_recs_copy_0
xdiff/xmerge: fix chg0 initialization
builtin/merge-file.c | 8 ++------
xdiff/xmerge.c | 30 ++++++++++++++++--------------
2 files changed, 18 insertions(+), 20 deletions(-)
--
2.32.0