From: brian m. carlson Date: Wed, 14 Nov 2018 04:09:35 +0000 (+0000) Subject: commit-graph: convert to using the_hash_algo X-Git-Tag: v2.21.0-rc0~65^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c166599862d10a273f61b834559eaa567c3dbfd9?hp=c166599862d10a273f61b834559eaa567c3dbfd9 commit-graph: convert to using the_hash_algo Instead of using hard-coded constants for object sizes, use the_hash_algo to look them up. In addition, use a function call to look up the object ID version and produce the correct value. For now, we use version 1, which means to use the default algorithm used in the rest of the repository. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano ---