]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-push.c
object: convert lookup_object() to use object_id
[thirdparty/git.git] / http-push.c
index 96a98e1e615968b20d84aac0ecf6098934e83851..0353f9f5143d7fff3a2b4b11d02375255258319b 100644 (file)
@@ -723,7 +723,7 @@ static void one_remote_object(const struct object_id *oid)
 {
        struct object *obj;
 
-       obj = lookup_object(the_repository, oid->hash);
+       obj = lookup_object(the_repository, oid);
        if (!obj)
                obj = parse_object(the_repository, oid);