]> git.ipfire.org Git - thirdparty/git.git/commit
midx: compute paths via their source
authorPatrick Steinhardt <ps@pks.im>
Mon, 11 Aug 2025 13:46:50 +0000 (15:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Aug 2025 16:22:23 +0000 (09:22 -0700)
commit13296ac909d53e14712f89a7f4fda94dd0465479
tree0ca43ab7ad9f727138d421f93694fd46e9710386
parent7744936f374308d6fa3c6e317fb8fe0b685d0ef2
midx: compute paths via their source

With the preceding commits we started to always have the object database
source available when we load, write or access multi-pack indices. With
this in place we can change how MIDX paths are computed so that we don't
have to pass in the combination of a hash algorithm and object directory
anymore, but only the object database source.

Refactor the code accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
midx-write.c
midx.c
midx.h
pack-bitmap.c
pack-revindex.c