tree-walk: avoid hard-coded 20 constant
authorbrian m. carlson <redacted>
Wed, 2 May 2018 00:25:39 +0000 (00:25 +0000)
committerJunio C Hamano <redacted>
Wed, 2 May 2018 04:59:50 +0000 (13:59 +0900)
commite84bc23cb69209c771abd4fe098773340a850c48
tree42179f58f8a40a9bf7247fba4c740944971d6bf3
parent00de60633228f11a2941c25fc7738f8028756cb9
tree-walk: avoid hard-coded 20 constant

Use the_hash_algo to look up the length of our current hash instead of
hard-coding the value 20.

Signed-off-by: brian m. carlson <redacted>
Signed-off-by: Junio C Hamano <redacted>
tree-walk.c
git clone https://git.99rst.org/PROJECT