cache.h: add repository argument to oid_object_info_extended
authorStefan Beller <sbeller@google.com>
Wed, 25 Apr 2018 18:20:58 +0000 (11:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Apr 2018 01:54:27 +0000 (10:54 +0900)
commit7ecd8690602170f0993923c99645c7c6005e3dfa
tree28d0e12f4a1aa5a4d05fb5fca86351377484edd0
parent90e777f1e20dd6bdc022d5720a9169ea2205d9ad
cache.h: add repository argument to oid_object_info_extended

Add a repository argument to allow oid_object_info_extended callers
to be more specific about which repository to act on. This is a small
mechanical change; it doesn't change the implementation to handle
repositories other than the_repository yet.

Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/cat-file.c
cache.h
packfile.c
sha1_file.c
streaming.c