pack: convert struct pack_idx_entry to struct object_id
commite6a492b7beca9dc8b656f2be3aec23fc1a35e4de
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 6 May 2017 22:10:11 +0000 (6 22:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2017 06:12:57 +0000 (8 15:12 +0900)
tree15196180251faf3c1416aa460172872c194ab08d
parentbc83266abe36905cade4719cbaeb8a62d0a382da
pack: convert struct pack_idx_entry to struct object_id

Convert struct pack_idx_entry to use struct object_id by changing the
definition and applying the following semantic patch, plus the standard
object_id transforms:

@@
struct pack_idx_entry E1;
@@
- E1.sha1
+ E1.oid.hash

@@
struct pack_idx_entry *E1;
@@
- E1->sha1
+ E1->oid.hash

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/index-pack.c
builtin/pack-objects.c
bulk-checkin.c
fast-import.c
pack-bitmap-write.c
pack-objects.c
pack-write.c
pack.h