]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-push.c
object: add repository argument to lookup_object
[thirdparty/git.git] / http-push.c
index 37cbf0769ba725dc5b47082229ff7124e0b6e5c8..d2245cc73802fec76ed8613adf84c3995e70b716 100644 (file)
@@ -722,7 +722,7 @@ static void one_remote_object(const struct object_id *oid)
 {
        struct object *obj;
 
-       obj = lookup_object(oid->hash);
+       obj = lookup_object(the_repository, oid->hash);
        if (!obj)
                obj = parse_object(the_repository, oid);