diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2016-09-05 20:07:56 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-07 12:59:42 -0700 |
commit | cd4f77beb7c7dcb996e08f1eae566802d4056a6c (patch) | |
tree | d4cac828c7c97a87ed0950dbb6706415d99f83ba /builtin.h | |
parent | builtin/log: convert some static functions to use struct object_id (diff) | |
download | tgif-cd4f77beb7c7dcb996e08f1eae566802d4056a6c.tar.xz |
builtin/cat-file: convert struct expand_data to use struct object_id
Convert struct cache_entry to use struct object_id by applying the
following semantic patch and the object_id transforms from contrib,
plus the actual change to the struct:
@@
struct expand_data E1;
@@
- E1.sha1
+ E1.oid.hash
@@
struct expand_data *E1;
@@
- E1->sha1
+ E1->oid.hash
@@
struct expand_data E1;
@@
- E1.delta_base_sha1
+ E1.delta_base_oid.hash
@@
struct expand_data *E1;
@@
- E1->delta_base_sha1
+ E1->delta_base_oid.hash
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin.h')
0 files changed, 0 insertions, 0 deletions