Re: [PATCH 53/53] object: convert parse_object* to take struct object_id

2017-04-27 Thread Stefan Beller
On Sun, Apr 23, 2017 at 2:34 PM, brian m. carlson wrote: > Make parse_object, parse_object_or_die, and parse_object_buffer take a > pointer to struct object_id. Remove the temporary variables inserted > earlier, since they are no longer necessary. Transform all of

[PATCH 53/53] object: convert parse_object* to take struct object_id

2017-04-23 Thread brian m. carlson
Make parse_object, parse_object_or_die, and parse_object_buffer take a pointer to struct object_id. Remove the temporary variables inserted earlier, since they are no longer necessary. Transform all of the callers using the following semantic patch: @@ expression E1; @@ - parse_object(E1.hash)