streaming: convert istream internals to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 12 Mar 2018 02:27:50 +0000 (02:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Mar 2018 16:23:50 +0000 (09:23 -0700)
commit575042a04f671fa1a9cf9d5c21b30a2dadbe6c7e
tree5707e4cf9f88267995bd89da54b3bf72f3fe496e
parent0d4a8b5b6ce4db0846b3545a753f0e698db3eda9
streaming: convert istream internals to struct object_id

Convert the various open_istream variants to take a pointer to struct
object_id.  Introduce a temporary, which will be removed later, to work
around the fact that lookup_replace_object still returns a pointer to
unsigned char.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
streaming.c