From: brian m. carlson Date: Tue, 30 May 2017 17:30:37 +0000 (-0700) Subject: notes: convert internal structures to struct object_id X-Git-Tag: v2.14.0-rc0~86^2~32 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5dcc969e79ebb1e9c1996ffd972bb76467d3bc84?ds=inline;hp=5dcc969e79ebb1e9c1996ffd972bb76467d3bc84 notes: convert internal structures to struct object_id Convert the internal structures using unsigned char [20] to take struct object_id using the following semantic patch and the standard object_id transforms: @@ struct leaf_node E1; @@ - E1.key_sha1 + E1.key_oid.hash @@ struct leaf_node *E1; @@ - E1->key_sha1 + E1->key_oid.hash @@ struct leaf_node E1; @@ - E1.key_sha1 + E1.key_oid.hash @@ struct leaf_node *E1; @@ - E1->key_sha1 + E1->key_oid.hash @@ struct non_note E1; @@ - E1.sha1 + E1.oid.hash @@ struct non_note *E1; @@ - E1->sha1 + E1->oid.hash Signed-off-by: brian m. carlson Signed-off-by: Brandon Williams Signed-off-by: Junio C Hamano ---