]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
merge-ort-wrappers: new convience wrappers to mimic the old merge API
authorElijah Newren <newren@gmail.com>
Tue, 27 Oct 2020 02:08:08 +0000 (02:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Oct 2020 05:36:14 +0000 (22:36 -0700)
commit47b1e890e3f7ba57e8c5bc364dcb04d8b2dc1c58
treecbd7a8765991045d59d0047367b1a23404460512
parent17e5574b0446836af08136ae269b30767c05b1d7
merge-ort-wrappers: new convience wrappers to mimic the old merge API

There are a few differences between the new API in merge-ort and the old
API in merge-recursive.  While the new API is more flexible, it might
feel like more work at times than the old API.  merge-ort-wrappers
creates two convenience wrappers taking the exact same arguments as the
old merge_trees() and merge_recursive() functions and implements them
via the new API.  This makes converting existing callsites easier, and
serves to highlight some of the differences in the API.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
merge-ort-wrappers.c [new file with mode: 0644]
merge-ort-wrappers.h [new file with mode: 0644]