]> git.feebdaed.xyz Git - 0xmirror/git.git/commit
odb: read alternates via sources
authorPatrick Steinhardt <ps@pks.im>
Thu, 11 Dec 2025 09:30:16 +0000 (10:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Dec 2025 09:39:37 +0000 (18:39 +0900)
commitf7dbd9fb2ea9b14b4df0949411205f4b5d284b41
treea6fbcbf588be43bf5bfb131cc8fad8e8c892fe60
parent3f42555322f86f17a2dac4f585edab1d84f3df57
odb: read alternates via sources

Adapt how we read alternates so that the interface is structured around
the object database source we're reading from. This will eventually
allow us to abstract away this behaviour with pluggable object databases
so that every format can have its own mechanism for listing alternates.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
odb.c