diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-08-07 05:34:25 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-08-06 21:24:25 -0700 |
| commit | ca571025d86b55933d493e38d6e72824bcf5a80a (patch) | |
| tree | 49a66224c98d227297611f5fee06094d6231650a /t/t4013/diff.diff_initial..side | |
| parent | 9a0c4701dcd5725c4184599322b52933ff5005ca (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 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
