sha1_file: allow read_object to read objects in arbitrary repositories
authorStefan Beller <sbeller@google.com>
Tue, 16 Oct 2018 23:35:32 +0000 (16:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Oct 2018 07:21:04 +0000 (16:21 +0900)
Allow read_object (a file local functon in sha1_file) to
handle arbitrary repositories by passing the repository down
to oid_object_info_extended.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found