diff options
author | René Scharfe <l.s.r@web.de> | 2019-01-07 18:29:16 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-08 18:40:19 +0100 |
commit | 8be88dbcb1322df53c41c496bf718c5564c82bfb (patch) | |
tree | cfdab85c5073d450ad2386d634cced2ac3007c41 /object-store.h | |
parent | object-store: use one oid_array per subdirectory for loose cache (diff) | |
download | git-8be88dbcb1322df53c41c496bf718c5564c82bfb.tar.xz git-8be88dbcb1322df53c41c496bf718c5564c82bfb.zip |
object-store: retire odb_load_loose_cache()
Inline odb_load_loose_cache() into its only remaining caller,
odb_loose_cache(). The latter offers a nicer interface for loading the
cache, as it doesn't require callers to deal with fanout directory
numbers directly.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-store.h')
-rw-r--r-- | object-store.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/object-store.h b/object-store.h index 2fb6c0e4db..e16aa38cae 100644 --- a/object-store.h +++ b/object-store.h @@ -48,13 +48,6 @@ void add_to_alternates_file(const char *dir); void add_to_alternates_memory(const char *dir); /* - * Populate an odb's loose object cache for one particular subdirectory (i.e., - * the one that corresponds to the first byte of objects you're interested in, - * from 0 to 255 inclusive). - */ -void odb_load_loose_cache(struct object_directory *odb, int subdir_nr); - -/* * Populate and return the loose object cache array corresponding to the * given object ID. */ |