builtin/replace: convert to struct object_id
commitcea4332e5414f5506e6d0803811ba0b095d08518
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 21 Feb 2017 23:47:30 +0000 (21 23:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Feb 2017 18:12:15 +0000 (22 10:12 -0800)
treec827a8eb93c0ef3076849079d7d17551f5e73aef
parent2928325fc0b676876fcda5ffcbc461695aaedbb8
builtin/replace: convert to struct object_id

Convert various uses of unsigned char [20] to struct object_id.  Rename
replace_object_sha1 to replace_object_oid.  Finally, specify a constant
in terms of GIT_SHA1_HEXSZ.

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