From: René Scharfe Date: Sun, 6 Jan 2019 16:45:30 +0000 (+0100) Subject: object-store: factor out odb_loose_cache() X-Git-Tag: v2.21.0-rc0~82^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0000d6543f1c2ceea017161a2807167cdfbf8c0b?hp=0000d6543f1c2ceea017161a2807167cdfbf8c0b object-store: factor out odb_loose_cache() Add and use a function for loading the entries of a loose object subdirectory for a given object ID. It frees callers from deriving the fanout key; they can use the returned oid_array reference for lookups or forward range scans. Suggested-by: Jeff King Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano ---