]> git.ipfire.org Git - thirdparty/git.git/commit
pack-write: use hash_to_hex when writing checksums
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 18 Aug 2019 20:04:17 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Aug 2019 22:04:58 +0000 (15:04 -0700)
commit894c0f66bb21189d0677be6ecb9923b6acfbf437
tree7af949ad01ddb608e717b83545b22143b87a8862
parent4439c7a360a23c39e6dea3c9aae080c3c64eb6b6
pack-write: use hash_to_hex when writing checksums

Pack checksums always use the current hash algorithm in use, so switch
from sha1_to_hex to hash_to_hex.

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