]> git.ipfire.org Git - thirdparty/git.git/commit - server-info.c
treewide: use get_all_packs
authorDerrick Stolee <dstolee@microsoft.com>
Mon, 20 Aug 2018 16:52:04 +0000 (16:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Aug 2018 22:31:40 +0000 (15:31 -0700)
commit454ea2e4d7036862e8b2f69ef2dea640f8787510
tree5c7d2c447869707b7519770b1a1b992555d63e14
parent0bff5269d3ed7124259bb3a5b33ddf2c4080b7e7
treewide: use get_all_packs

There are many places in the codebase that want to iterate over
all packfiles known to Git. The purposes are wide-ranging, and
those that can take advantage of the multi-pack-index already
do. So, use get_all_packs() instead of get_packed_git() to be
sure we are iterating over all packfiles.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/count-objects.c
builtin/fsck.c
builtin/gc.c
builtin/pack-objects.c
builtin/pack-redundant.c
fast-import.c
http-backend.c
pack-bitmap.c
pack-objects.c
packfile.c
server-info.c