diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-05-06 22:10:21 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 15:12:57 +0900 |
| commit | cedfc41ac62c691557263a8db41f7f693914d68d (patch) | |
| tree | 4120173090660b6bdc3a2c91a0461ada84b6b9ea /builtin/commit.c | |
| parent | Convert the verify_pack callback to struct object_id (diff) | |
| download | git-cedfc41ac62c691557263a8db41f7f693914d68d.tar.gz git-cedfc41ac62c691557263a8db41f7f693914d68d.zip | |
Convert struct ref_array_item to struct object_id
Convert struct ref_array_item to use struct object_id by changing the
definition and applying the following semantic patch, plus the standard
object_id transforms:
@@
struct ref_array_item E1;
@@
- E1.objectname
+ E1.objectname.hash
@@
struct ref_array_item *E1;
@@
- E1->objectname
+ E1->objectname.hash
This transformation allows us to convert get_obj, which is needed to
convert parse_object_buffer.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
