]> git.ipfire.org Git - thirdparty/git.git/commit - fsck.c
fsck: convert static functions to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 2 May 2018 00:25:41 +0000 (00:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2018 04:59:50 +0000 (13:59 +0900)
commitc54f5ca97075fcaa11841e80855d55e0af29ea72
tree0ae1e5f853fd076121eb7a395d65c92709c23d8c
parent3b683bcf85aead6c980d79e6f81da8be362341bc
fsck: convert static functions to struct object_id

Convert two static functions to use struct object_id and parse_oid_hex,
instead of relying on harcoded 20 and 40-based constants.

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