submodule: use submodule repos for object lookup
authorStefan Beller <redacted>
Sat, 15 Dec 2018 00:09:37 +0000 (16:09 -0800)
committerJunio C Hamano <redacted>
Fri, 28 Dec 2018 18:06:33 +0000 (10:06 -0800)
commit605f0ec1350477e53fd1a7774bad977257bf10d5
tree7945f81ae569953cff53ed81a612447d341110a1
parentf54fbf5eefb9740a318344fe400f54f047cc4bf1
submodule: use submodule repos for object lookup

This converts the 'show_submodule_header' function to use
the repository API properly, such that the submodule objects
are not added to the main object store.

Signed-off-by: Stefan Beller <redacted>
Signed-off-by: Junio C Hamano <redacted>
submodule.c
git clone https://git.99rst.org/PROJECT