tag: convert parse_tag_buffer to struct object_id
commit1e4085a05d7a486920afcd995bb0c1737d54c670
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 6 May 2017 22:10:02 +0000 (6 22:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2017 06:12:57 +0000 (8 15:12 +0900)
tree94b14f077ed315476cffdc575af623ffc876a5fe
parenteee886cfb0de096a4b0144bba4fddaf1db0a4555
tag: convert parse_tag_buffer to struct object_id

Specify some constants in terms of GIT_SHA1_HEXSZ, and convert a
get_sha1_hex into parse_oid_hex to avoid needing to specify additional
constants.

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