git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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

Next: Edward Thomson
Message 1 of 8 in “xdiff: provide indirection to git functions”
  1. 0/1 xdiff: provide indirection to git functionsEdward Thomson, Feb 17, 2022
  2. 1/1 xdiff: provide indirection to git functionsEdward Thomson, Feb 17, 2022
  3. Phillip WoodFeb 22, 2022
  4. Johannes SchindelinFeb 25, 2022
  5. Junio C HamanoFeb 25, 2022
  6. Edward ThomsonFeb 25, 2022
  7. Junio C HamanoFeb 25, 2022
  8. Junio C HamanoFeb 25, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.