fsmonitor: demonstrate that it is not refreshed after discard_index()
[gitweb.git] / http-push.c
index 77e2e22852d769a04dc0275498964eff86e362d8..b22c7caea0c3facd8264a9ff5e779cec01003060 100644 (file)
@@ -255,7 +255,7 @@ static void start_fetch_loose(struct transfer_request *request)
        struct active_request_slot *slot;
        struct http_object_request *obj_req;
 
-       obj_req = new_http_object_request(repo->url, request->obj->oid.hash);
+       obj_req = new_http_object_request(repo->url, &request->obj->oid);
        if (obj_req == NULL) {
                request->state = ABORTED;
                return;