diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-09-23 12:17:02 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-24 11:53:49 -0700 |
| commit | 3421cb56a8b37425f2a47695adfa4a29a06a9d2e (patch) | |
| tree | 524592b533c9a18a441862ae4ddad3fe115a96d5 /t/unit-tests/u-oid-array.c | |
| parent | 535b7a667a94d5882add829e30e20b6dfa076640 (diff) | |
odb: move initialization bit into `struct packfile_store`
The object database knows to skip re-initializing the list of packfiles
in case it's already been initialized. Whether or not that is the case
is tracked via a separate `initialized` bit that is stored in the object
database. With the introduction of the `struct packfile_store` we have a
better place to host this bit though.
Move it accordingly. While at it, convert the field into a boolean now
that we're allowed to use them in our code base.
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
