Merge branch 'sb/oid-object-info'
authorJunio C Hamano <gitster@pobox.com>
Wed, 23 May 2018 05:38:16 +0000 (14:38 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 May 2018 05:38:16 +0000 (14:38 +0900)
commitfcb6df325468a7ae12949ab80dcd37772b9b1fbf
tree7ae13a8a1c4f7b417403b6f7f64f34a9565dbab2
parentd0f7b22b5bf0847a6e0fe039feb598819dffab4c
parent9d98354f48997faf8251c566d909957f6ae427d5
Merge branch 'sb/oid-object-info'

The codepath around object-info API has been taught to take the
repository object (which in turn tells the API which object store
the objects are to be located).

* sb/oid-object-info:
  cache.h: allow oid_object_info to handle arbitrary repositories
  packfile: add repository argument to cache_or_unpack_entry
  packfile: add repository argument to unpack_entry
  packfile: add repository argument to read_object
  packfile: add repository argument to packed_object_info
  packfile: add repository argument to packed_to_object_type
  packfile: add repository argument to retry_bad_packed_offset
  cache.h: add repository argument to oid_object_info
  cache.h: add repository argument to oid_object_info_extended
20 files changed:
blame.c
builtin/describe.c
builtin/fast-export.c
builtin/fetch.c
builtin/index-pack.c
builtin/pack-objects.c
builtin/tag.c
cache.h
commit-graph.c
fast-import.c
list-objects-filter.c
object.c
pack-bitmap-write.c
packfile.c
packfile.h
refs.c
sequencer.c
sha1-file.c
sha1-name.c
submodule.c