diff options
author | Derrick Stolee <stolee@gmail.com> | 2018-07-12 15:39:38 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-20 11:27:29 -0700 |
commit | f3a002bd84790e89399c3a18f1e7101b850ed6f8 (patch) | |
tree | 0ad8fdb436d6c9bfa37fb96558a55bddefeaa54f /t/t7413-submodule-is-active.sh | |
parent | midx: use midx in approximate_object_count (diff) | |
download | tgif-f3a002bd84790e89399c3a18f1e7101b850ed6f8.tar.xz |
midx: prevent duplicate packfile loads
The multi-pack-index, when present, tracks the existence of objects and
their offsets within a list of packfiles. This allows us to use the
multi-pack-index for object lookups, abbreviations, and object counts.
When the multi-pack-index tracks a packfile, then we do not need to add
that packfile to the packed_git linked list or the MRU list.
We still need to load the packfiles that are not tracked by the
multi-pack-index.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7413-submodule-is-active.sh')
0 files changed, 0 insertions, 0 deletions