sha1_name: convert disambiguate_hint_fn to take object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 26 Mar 2017 16:01:34 +0000 (16:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Mar 2017 16:59:34 +0000 (09:59 -0700)
commitd2b7d9c7edc549e7ec19f4a7681adc7bfbaa6b89
treea4c129815c5711f9acce458589085d12ab56e7ca
parentd2ee11859ce6c0edecb94a7e3e9600ab69823b06
sha1_name: convert disambiguate_hint_fn to take object_id

Convert this function pointer type and the functions that implement it
to take a struct object_id.  Introduce a temporary in
show_ambiguous_object to avoid having to convert for_each_abbrev at this
point.

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