summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-12-11 10:30:17 +0100
committerJunio C Hamano <gitster@pobox.com>2025-12-11 18:39:37 +0900
commit221a877d4785030e07d20977418609257fd606d8 (patch)
tree565a1f55ac31e9cf6cee252bd8ca0fdaf69589b1 /contrib/persistent-https
parentf7dbd9fb2ea9b14b4df0949411205f4b5d284b41 (diff)
downloadgit-221a877d4785030e07d20977418609257fd606d8.tar.gz
git-221a877d4785030e07d20977418609257fd606d8.zip
odb: write alternates via sources
Refactor writing of alternates so that the actual business logic is structured around the object database source we want to write the alternate to. Same as with the preceding commit, this will eventually allow us to have different logic for writing alternates depending on the backend used. Note that after the refactoring we start to call `odb_add_alternate_recursively()` unconditionally. This is fine though as we know to skip adding sources that are tracked already. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions