summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-08-07 05:34:25 +0200
committerJunio C Hamano <gitster@pobox.com>2026-08-06 21:24:25 -0700
commitca571025d86b55933d493e38d6e72824bcf5a80a (patch)
tree49a66224c98d227297611f5fee06094d6231650a /contrib/persistent-https
parent9a0c4701dcd5725c4184599322b52933ff5005ca (diff)
loose: load loose object map for the correct source
When loading the loose object map via `load_one_loose_object_map()` we pass in both a repository and the corresponding source. We ultimately don't really respect the passed-in source though as we instead always load the map via the common directory. This doesn't make any sense though, as the function is called in a loop through all sources, and as such the expectation is that we'll load the map that belongs to the given source. The consequence is that we'll ignore loose object maps of any configured alternates. Fix this bug by instead loading the map via the loose source's path. Helped-by: Toon Claes <toon@iotcl.com> 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