]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff-interface: stop using the_repository
authorRené Scharfe <l.s.r@web.de>
Mon, 9 Feb 2026 19:24:52 +0000 (20:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Feb 2026 16:16:14 +0000 (08:16 -0800)
commitaf5706f033466b2a4f17d83168bf0bd021197c1d
tree4a32d8a3b5aa0716ab6ec197e2264213862865a2
parent67ad42147a7acc2af6074753ebd03d904476118f
xdiff-interface: stop using the_repository

Use the algorithm-agnostic is_null_oid() and push the dependency of
read_mmblob() on the_repository->objects to its callers.  This allows it
to be used with arbitrary object databases.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
apply.c
builtin/checkout.c
builtin/merge-file.c
merge-ort.c
notes-merge.c
xdiff-interface.c
xdiff-interface.h