}
}
- return get_object_hash(commit->object);
+ return commit->object.oid.hash;
}
enum ack_type {
if (!t->tagged)
break; /* broken repository */
o->flags |= COMPLETE;
- o = parse_object(get_object_hash(*t->tagged));
+ o = parse_object(t->tagged->oid.hash);
}
if (o && o->type == OBJ_COMMIT) {
struct commit *commit = (struct commit *)o;