split-index: convert struct split_index to object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 2 May 2018 00:25:43 +0000 (00:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2018 04:59:50 +0000 (13:59 +0900)
commit2182abd94bf69a8daba18e71efae3e9f02a6c465
tree23d79183a42224fc33bab5530b7f795d24f0001a
parent34caab0261d87b230520f97f2d1ce9ca4474dc73
split-index: convert struct split_index to object_id

Convert the base_sha1 member of struct split_index to use struct
object_id and rename it base_oid.  Include cache.h to make the structure
visible.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rev-parse.c
read-cache.c
split-index.c
split-index.h
t/helper/test-dump-split-index.c