sha1_name: convert get_sha1_mb to struct object_id
commit151b2911c1279f3ea4b5bcc069a04348aeb9d811
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 5 Sep 2016 20:08:07 +0000 (5 20:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2016 19:59:43 +0000 (7 12:59 -0700)
tree85f195244e3e81f7be62a0bcf78a6fb1b7781040
parent71445a0fef6a539dc283e57d19740fe5445e9b86
sha1_name: convert get_sha1_mb to struct object_id

All of the callers of this function use struct object_id, so rename it
to get_oid_mb and make it take struct object_id instead of
unsigned char *.

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