diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2016-06-24 23:09:23 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-28 11:39:02 -0700 |
commit | a0d12c4433e25e87b67df78b45635df8a098fb23 (patch) | |
tree | 4fccd5651863d2ae9aeeaeabdab57a1c7159609b /t/t4109/expect-1 | |
parent | coccinelle: apply object_id Coccinelle transformations (diff) | |
download | tgif-a0d12c4433e25e87b67df78b45635df8a098fb23.tar.xz |
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 <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4109/expect-1')
0 files changed, 0 insertions, 0 deletions