Skip to content

Update xdiff - #7482

Draft
csware wants to merge 2 commits into
libgit2:mainfrom
csware:xdiff
Draft

csware wants to merge 2 commits into
libgit2:mainfrom
csware:xdiff

Conversation

@csware

@csware csware commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

The changes to git-xdiff.h should be rechecked, because upstream xdiff introduced a die: https://github.com/gitster/git/blob/maint/git-compat-util.h#L638-L644

An upgdate to xdiff of 2.56.1 Git requires to support XDL_BUG with a format string, cf. https://github.com/gitster/git/blob/maint/xdiff/xemit.c#L54 and also cannot be replaced by GIT_ASSERT with a return -1 doesn't work in that context.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
@csware
csware force-pushed the xdiff branch 2 times, most recently from 1ca830d to 4d0653c Compare November 13, 2026 07:40
@csware
csware marked this pull request as draft November 13, 2026 07:52
Signed-off-by: Sven Strickroth <email@cs-ware.de>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant