summaryrefslogtreecommitdiff
path: root/pack-objects.c
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2018-08-20 16:52:02 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-20 15:31:40 -0700
commit0bff5269d3ed7124259bb3a5b33ddf2c4080b7e7 (patch)
tree9202a3c78155e5793caf511f00ad3d320634b949 /pack-objects.c
parentmidx: fix bug that skips midx with alternates (diff)
downloadtgif-0bff5269d3ed7124259bb3a5b33ddf2c4080b7e7.tar.xz
packfile: add all_packs list
If a repo contains a multi-pack-index, then the packed_git list does not contain the packfiles that are covered by the multi-pack-index. This is important for doing object lookups, abbreviations, and approximating object count. However, there are many operations that really want to iterate over all packfiles. Create a new 'all_packs' linked list that contains this list, starting with the packfiles in the multi-pack-index and then continuing along the packed_git linked list. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-objects.c')
0 files changed, 0 insertions, 0 deletions