builtin/update-index: convert file to struct object_id
commit71445a0fef6a539dc283e57d19740fe5445e9b86
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 5 Sep 2016 20:08:06 +0000 (5 20:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2016 19:59:43 +0000 (7 12:59 -0700)
tree458eda91ef0275b30e315d692dd3e62bf74c1710
parent13ac141038cda40fcd50d6808aae70b7ef296729
builtin/update-index: convert file to struct object_id

Convert all functions to use struct object_id, and replace instances of
hardcoded 40, 41, and 42 with appropriate references to GIT_SHA1_HEXSZ.

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