diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-11-03 08:42:03 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-03 12:18:47 -0800 |
| commit | 376016ec71c3a6c883f2ca77a3f1c0245fd60dc2 (patch) | |
| tree | 08054af9332263791881c4f59656a8dab042fa0d /object-file.c | |
| parent | be659c97eae3b68e38b71f0a67067dede23903b5 (diff) | |
object-file: move loose object map into loose source
The loose object map is used to map from the repository's canonical
object hash to the compatibility hash. As the name indicates, this map
is only used for loose objects, and as such it is tied to a specific
loose object source.
Same as with preceding commits, move this map into the loose object
source accordingly.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-file.c')
| -rw-r--r-- | object-file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/object-file.c b/object-file.c index 20daa629a1..ccc67713fa 100644 --- a/object-file.c +++ b/object-file.c @@ -2014,5 +2014,6 @@ void odb_source_loose_free(struct odb_source_loose *loose) if (!loose) return; odb_source_loose_clear_cache(loose); + loose_object_map_clear(&loose->map); free(loose); } |
