]> git.ipfire.org Git - thirdparty/git.git/commit - hex.c
hex: switch to using the_hash_algo
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 16 Jul 2018 01:27:55 +0000 (01:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jul 2018 21:27:39 +0000 (14:27 -0700)
commitd9cd734990a5fedbf7fc34debe6c10d5d10e954a
tree97e460ec32a3095467df2c5e7bca985721b8bc6c
parent83e4b7571c7d78e8236ad87519b75a90e7902a34
hex: switch to using the_hash_algo

Instead of using the GIT_SHA1_* constants, switch to using the_hash_algo
to convert object IDs to and from hex format.

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