diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-05-17 20:41:49 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-12 20:33:54 +0200 |
commit | 2d511cfc0bfe1d2b98ba8b272ddd9ba83e84e5f8 (patch) | |
tree | 1bf0a1bf940a3c1a4db47c88a23fbf8b3bb7a080 /packfile.c | |
parent | packfile: close commit-graph in close_all_packs (diff) | |
download | git-2d511cfc0bfe1d2b98ba8b272ddd9ba83e84e5f8.tar.xz git-2d511cfc0bfe1d2b98ba8b272ddd9ba83e84e5f8.zip |
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>
Diffstat (limited to 'packfile.c')
-rw-r--r-- | packfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packfile.c b/packfile.c index ce12bffe3e..017046fcf9 100644 --- a/packfile.c +++ b/packfile.c @@ -337,7 +337,7 @@ void close_pack(struct packed_git *p) close_pack_index(p); } -void close_all_packs(struct raw_object_store *o) +void close_object_store(struct raw_object_store *o) { struct packed_git *p; |