diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-05-01 02:29:03 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-02 10:48:20 +0900 |
commit | d7e6b6a8dcc8a98a4dcf6bc291f1e68b1acaecae (patch) | |
tree | 796b4889c03671932630ba250f1eb61d808a56ea /resolve-undo.c | |
parent | builtin/rev-parse: convert to struct object_id (diff) | |
download | tgif-d7e6b6a8dcc8a98a4dcf6bc291f1e68b1acaecae.tar.xz |
fast-import: convert internal structs to struct object_id
Convert struct tree_entry_ms, struct branch, struct tag, and struct
hash_list to use struct object_id by changing the definition and
applying the following semantic patch, plus the standard object_id
transforms:
@@
struct tree_entry_ms E1;
@@
- E1.sha1
+ E1.oid.hash
@@
struct tree_entry_ms *E1;
@@
- E1->sha1
+ E1->oid.hash
@@
struct branch E1;
@@
- E1.sha1
+ E1.oid.hash
@@
struct branch *E1;
@@
- E1->sha1
+ E1->oid.hash
@@
struct tag E1;
@@
- E1.sha1
+ E1.oid.hash
@@
struct tag *E1;
@@
- E1->sha1
+ E1->oid.hash
@@
struct hash_list E1;
@@
- E1.sha1
+ E1.oid.hash
@@
struct hash_list *E1;
@@
- E1->sha1
+ E1->oid.hash
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'resolve-undo.c')
0 files changed, 0 insertions, 0 deletions