builtin/index-pack: replace sha1_to_hex
authorbrian m. carlson <redacted>
Sun, 18 Aug 2019 20:04:23 +0000 (20:04 +0000)
committerJunio C Hamano <redacted>
Mon, 19 Aug 2019 22:04:59 +0000 (15:04 -0700)
commit69fa3370604e4410d845ff146ef86f8368e1ca79
tree1d56f1a8ce07217a99d1843a1cb7a6c82b002f93
parent3a4d7aa5aeeeb6c0b3d92cbaee0d32c2c956c72b
builtin/index-pack: replace sha1_to_hex

Since sha1_to_hex is limited to SHA-1, replace it with hash_to_hex so
this code works with other algorithms.

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