obj = lookup_object(oid->hash);
if (!obj)
- obj = parse_object(oid->hash);
+ obj = parse_object(oid);
/* Ignore remote objects that don't exist locally */
if (!obj)
return;
}
- o = parse_object(ref->old_oid.hash);
+ o = parse_object(&ref->old_oid);
if (!o) {
fprintf(stderr,
"Unable to parse object %s for remote ref %s\n",