http-walker: convert struct object_request to use struct object_id
commit16f0705df107410db8454f3726c49d8c488853c9
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 12 Mar 2018 02:27:31 +0000 (12 02:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Mar 2018 16:23:48 +0000 (14 09:23 -0700)
tree9c72e9d75558b0a489a0a45a832dcfb8aada12cb
parentaab9583f7b5ea5463eb3f653a0b4ecac7539dc94
http-walker: convert struct object_request to use struct object_id

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

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

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

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