reflog-walk: convert struct reflog_info to struct object_id
authorbrian m. carlson <redacted>
Tue, 21 Feb 2017 23:47:31 +0000 (23:47 +0000)
committerJunio C Hamano <redacted>
Wed, 22 Feb 2017 18:12:15 +0000 (10:12 -0800)
commit8ebc3fd01bcedcb9a442da1114f37d1a4b8869a0
treef7ebbc56900867cdd00729c7f6334b3fa4f5fa05
parentcea4332e5414f5506e6d0803811ba0b095d08518
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
reflog-walk.c
git clone https://git.99rst.org/PROJECT