aboutsummaryrefslogtreecommitdiffstats
path: root/odb.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-09-23 12:17:01 +0200
committerJunio C Hamano <gitster@pobox.com>2025-09-24 11:53:48 -0700
commit535b7a667a94d5882add829e30e20b6dfa076640 (patch)
tree040facee4b2e891804f391b0f33b42bcfb1e384d /odb.h
parentb7983adb5180c62586753754ae22a24ce8f7a04c (diff)
downloadgit-535b7a667a94d5882add829e30e20b6dfa076640.tar.gz
odb: move list of packfiles into `struct packfile_store`
The object database tracks the list of packfiles it currently knows about. With the introduction of the `struct packfile_store` we have a better place to host this list though. Move the list accordingly. Extract the logic from `odb_clear()` that knows to close all such packfiles and move it into the new subsystem, as well. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'odb.h')
-rw-r--r--odb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/odb.h b/odb.h
index 33034eaf2f..22a170b434 100644
--- a/odb.h
+++ b/odb.h
@@ -138,7 +138,6 @@ struct object_database {
* should only be accessed directly by packfile.c
*/
struct packfile_store *packfiles;
- struct packed_git *packed_git;
/* A most-recently-used ordered version of the packed_git list. */
struct list_head packed_git_mru;