reflog-walk: convert struct reflog_info to struct object_id
commit8ebc3fd01bcedcb9a442da1114f37d1a4b8869a0
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 21 Feb 2017 23:47:31 +0000 (21 23:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Feb 2017 18:12:15 +0000 (22 10:12 -0800)
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 <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reflog-walk.c