builtin/blame: convert struct origin to use struct object_id
commita7bcfa126b686ea9f16bbba75e53261330f1aa58
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 5 Sep 2016 20:07:54 +0000 (5 20:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2016 19:59:42 +0000 (7 12:59 -0700)
treefeea1cec406beca00612e0643fb663621a5629a5
parenteb1c9c7328f203d84f5f67e6ac7f3991c4bc189d
builtin/blame: convert struct origin to use struct object_id

Convert struct origin 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 origin E1;
@@
- E1.blob_sha1
+ E1.blob_oid.hash

@@
struct origin *E1;
@@
- E1->blob_sha1
+ E1->blob_oid.hash

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c