fsck: convert init_skiplist to struct object_id
commit365c27fbffd9a1e08ac5f1e423c99ece6c27d22e
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 26 Mar 2017 16:01:30 +0000 (26 16:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Mar 2017 16:59:33 +0000 (28 09:59 -0700)
tree240473e5a6c3ed2b6731cc48f1ce3f59a4a3a317
parent9c44ea440323e35e4a234d0d27d511e9b4d8dc21
fsck: convert init_skiplist to struct object_id

Convert a hardcoded constant buffer size to a use of GIT_MAX_HEXSZ, and
use parse_oid_hex to reduce the dependency on the size of the hash.
This function is a caller of sha1_array_append, which will be converted
later.

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