]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-push.c
object: convert lookup_unknown_object() to use object_id
[thirdparty/git.git] / http-push.c
index e36561a6db0752f12fe22883f81489d62d81a4ca..96a98e1e615968b20d84aac0ecf6098934e83851 100644 (file)
@@ -1432,7 +1432,7 @@ static void one_remote_ref(const char *refname)
         * may be required for updating server info later.
         */
        if (repo->can_update_info_refs && !has_object_file(&ref->old_oid)) {
-               obj = lookup_unknown_object(ref->old_oid.hash);
+               obj = lookup_unknown_object(&ref->old_oid);
                fprintf(stderr, "  fetch %s for %s\n",
                        oid_to_hex(&ref->old_oid), refname);
                add_fetch_request(obj);