diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-03-26 16:01:33 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-28 09:59:33 -0700 |
commit | d2ee11859ce6c0edecb94a7e3e9600ab69823b06 (patch) | |
tree | 765d0bc5545da15565da5fdedd8c17eba3ca9452 /tree.c | |
parent | test-sha1-array: convert most code to struct object_id (diff) | |
download | tgif-d2ee11859ce6c0edecb94a7e3e9600ab69823b06.tar.xz |
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 <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions