refs/files-backend: use the_hash_algo for writing refs
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 16 Jul 2018 01:27:59 +0000 (01:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jul 2018 21:27:39 +0000 (14:27 -0700)
In order to ensure we write the correct amount, use the_hash_algo to
find the correct number of bytes for the current hash.

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