diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-02-21 23:47:31 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-22 10:12:15 -0800 |
commit | 8ebc3fd01bcedcb9a442da1114f37d1a4b8869a0 (patch) | |
tree | f7ebbc56900867cdd00729c7f6334b3fa4f5fa05 /builtin/revert.c | |
parent | builtin/replace: convert to struct object_id (diff) | |
download | tgif-8ebc3fd01bcedcb9a442da1114f37d1a4b8869a0.tar.xz |
reflog-walk: convert struct reflog_info to struct object_id
Convert struct reflog_info to use struct object_id by changing the
structure definition and applying the following semantic patch:
@@
struct reflog_info E1;
@@
- E1.osha1
+ E1.ooid.hash
@@
struct reflog_info *E1;
@@
- E1->osha1
+ E1->ooid.hash
@@
struct reflog_info E1;
@@
- E1.nsha1
+ E1.noid.hash
@@
struct reflog_info *E1;
@@
- E1->nsha1
+ E1->noid.hash
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/revert.c')
0 files changed, 0 insertions, 0 deletions