From: brian m. carlson Date: Mon, 5 Sep 2016 20:07:56 +0000 (+0000) Subject: builtin/cat-file: convert struct expand_data to use struct object_id X-Git-Tag: v2.11.0-rc0~142^2~15 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/cd4f77beb7c7dcb996e08f1eae566802d4056a6c?ds=sidebyside;hp=cd4f77beb7c7dcb996e08f1eae566802d4056a6c builtin/cat-file: convert struct expand_data to use struct object_id Convert struct cache_entry to use struct object_id by applying the following semantic patch and the object_id transforms from contrib, plus the actual change to the struct: @@ struct expand_data E1; @@ - E1.sha1 + E1.oid.hash @@ struct expand_data *E1; @@ - E1->sha1 + E1->oid.hash @@ struct expand_data E1; @@ - E1.delta_base_sha1 + E1.delta_base_oid.hash @@ struct expand_data *E1; @@ - E1->delta_base_sha1 + E1->delta_base_oid.hash Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano ---