hex: add oid_to_hex_r()
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 24 Jun 2016 23:09:19 +0000 (23:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jun 2016 18:39:02 +0000 (11:39 -0700)
commit55c529a7005c653ceb318e1e25b40ff96a41877f
tree852bc2ac950ce6c96bb92f5caa3ffafee740f0f6
parent05219a1276341e72d8082d76b7f5ed394b7437a4
hex: add oid_to_hex_r()

This function works just like sha1_to_hex_r, except that it takes a
pointer to struct object_id instead of a pointer to unsigned char.

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