[PATCH v2 0/1] xdiff: provide indirection to git functions
- From
Edward Thomson <ethomson@edwardthomson.com>
- Date
- Feb 17, 2022, 22:52 UTC
- Message-ID
- <20220217225218.GA7@edef91d97c94>
Hello (again) from libgit2; this is a v2 of changes to xdiff to allow us to work together more easily. As discussed in the previous patch (https://lore.kernel.org/git/20220209012951.GA7@abe733c6e288/) this adds a simple abstraction layer in `git-xdiff.h`.
Other xdiff users, like libgit2, can specify their own compatibility functions in this header file.
Cheers- -ed
Edward Thomson (1): xdiff: provide indirection to git functions
xdiff/git-xdiff.h | 16 ++++++++++++++++ xdiff/xdiff.h | 8 +++----- xdiff/xdiffi.c | 20 ++++++++++---------- xdiff/xinclude.h | 2 +- xdiff/xmerge.c | 4 ++-- 5 files changed, 32 insertions(+), 18 deletions(-) create mode 100644 xdiff/git-xdiff.h
-- 2.35.1