tree-walk: replace hard-coded constants with the_hash_algo
commit83e4b7571c7d78e8236ad87519b75a90e7902a34
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 16 Jul 2018 01:27:54 +0000 (16 01:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jul 2018 21:27:39 +0000 (16 14:27 -0700)
treea350ecc2b655ba25dc945fcf8a30037c41678a60
parent509f6f62a4b0dfd1c06dc2120ad06b9d50a1b64a
tree-walk: replace hard-coded constants with the_hash_algo

Remove the hard-coded 20-based values and replace them with uses of
the_hash_algo.

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