pretty: switch hard-coded constants to the_hash_algo
commit580f0980e11b9dcfdaf0f8af12b8cef7c702a7e1
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 16 Jul 2018 01:28:08 +0000 (16 01:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jul 2018 21:27:40 +0000 (16 14:27 -0700)
tree823d38974c2c4d016d4856c11563518955216aef
parent94b5e093f9434ab77dd0ccb5a6dd2cd3a94e7de5
pretty: switch hard-coded constants to the_hash_algo

Switch several hard-coded constants into expressions based either on
GIT_MAX_HEXSZ or the_hash_algo.

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