From: brian m. carlson Date: Fri, 24 Jun 2016 23:09:23 +0000 (+0000) Subject: diff: convert struct diff_filespec to struct object_id X-Git-Tag: v2.10.0-rc0~110^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a0d12c4433e25e87b67df78b45635df8a098fb23?ds=inline;hp=a0d12c4433e25e87b67df78b45635df8a098fb23 diff: convert struct diff_filespec to struct object_id Convert struct diff_filespec's sha1 member to use a struct object_id called "oid" instead. The following Coccinelle semantic patch was used to implement this, followed by the transformations in object_id.cocci: @@ struct diff_filespec o; @@ - o.sha1 + o.oid.hash @@ struct diff_filespec *p; @@ - p->sha1 + p->oid.hash Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano ---