packfile: rename close_all_packs to close_object_store
authorDerrick Stolee <dstolee@microsoft.com>
Fri, 17 May 2019 18:41:49 +0000 (11:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jun 2019 18:33:54 +0000 (11:33 -0700)
commit2d511cfc0bfe1d2b98ba8b272ddd9ba83e84e5f8
tree1bf0a1bf940a3c1a4db47c88a23fbf8b3bb7a080
parent5472c32c3724e1404c3d80368edc28910969c29a
packfile: rename close_all_packs to close_object_store

The close_all_packs() method is now responsible for more than just pack-files.
It also closes the commit-graph and the multi-pack-index. Rename the function
to be more descriptive of its larger role. The name also fits because the
input parameter is a raw_object_store.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c
builtin/clone.c
builtin/fetch.c
builtin/gc.c
builtin/merge.c
builtin/rebase.c
builtin/receive-pack.c
builtin/repack.c
object.c
packfile.c
packfile.h