aboutsummaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-05-01 02:29:03 +0000
committerJunio C Hamano <gitster@pobox.com>2017-05-02 10:48:20 +0900
commitd7e6b6a8dcc8a98a4dcf6bc291f1e68b1acaecae (patch)
tree796b4889c03671932630ba250f1eb61d808a56ea /tree.c
parent8bc095f7d5b847501e06e8bc1eafc50a314b99b9 (diff)
downloadgit-d7e6b6a8dcc8a98a4dcf6bc291f1e68b1acaecae.tar.gz
git-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 'tree.c')
0 files changed, 0 insertions, 0 deletions