http-push: convert process_ls_object and descendants to object_id
[gitweb.git] / bisect.c
index 08c9fb7266c3b2ff8b970c21d350be4adfe7b0fc..bb5af3ea3d6761d4fe67086abc69401e44835275 100644 (file)
--- a/bisect.c
+++ b/bisect.c
@@ -705,7 +705,7 @@ static int bisect_checkout(const unsigned char *bisect_rev, int no_checkout)
 
 static struct commit *get_commit_reference(const struct object_id *oid)
 {
-       struct commit *r = lookup_commit_reference(oid->hash);
+       struct commit *r = lookup_commit_reference(oid);
        if (!r)
                die(_("Not a valid commit name %s"), oid_to_hex(oid));
        return r;