From: brian m. carlson Date: Sun, 26 Mar 2017 16:01:33 +0000 (+0000) Subject: sha1_name: convert struct disambiguate_state to object_id X-Git-Tag: v2.13.0-rc0~16^2~10 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d2ee11859ce6c0edecb94a7e3e9600ab69823b06?ds=inline;hp=d2ee11859ce6c0edecb94a7e3e9600ab69823b06 sha1_name: convert struct disambiguate_state to object_id Convert struct disambiguate_state to use struct object_id by changing the structure definition and applying the following semantic patch: @@ struct disambiguate_state E1; @@ - E1.bin_pfx + E1.bin_pfx.hash @@ struct disambiguate_state *E1; @@ - E1->bin_pfx + E1->bin_pfx.hash @@ struct disambiguate_state E1; @@ - E1.candidate + E1.candidate.hash @@ struct disambiguate_state *E1; @@ - E1->candidate + E1->candidate.hash This conversion is needed so we can convert disambiguate_hint_fn later. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano ---