diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-09-23 12:17:05 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-24 11:53:49 -0700 |
| commit | bd1a521de869dc9b26ca88efc5eae022222918c1 (patch) | |
| tree | 1f3ce7d78def49262380446a7e115a6cd184f520 /t/unit-tests/u-oid-array.c | |
| parent | fe835b0ca0ba4d6968cd2d1f824c178547934792 (diff) | |
odb: move kept cache into `struct packfile_store`
The object database tracks a cache of "kept" packfiles, which is used by
git-pack-objects(1) to handle cruft objects. With the introduction of
the `struct packfile_store` we have a better place to host this cache
though.
Move the cache accordingly.
This moves the last bit of packfile-related state from the object
database into the packfile store. Adapt the comment for the `packfiles`
pointer in `struct object_database` to reflect this.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/u-oid-array.c')
0 files changed, 0 insertions, 0 deletions
