]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-walker.c
Sync with 2.31.5
[thirdparty/git.git] / http-walker.c
index 4fb1235cd455464ad863a76097197f1c27827509..90d8ecb57ef8629e1691f7e785fea1446c09017c 100644 (file)
@@ -155,7 +155,7 @@ static void prefetch(struct walker *walker, unsigned char *sha1)
 
        newreq = xmalloc(sizeof(*newreq));
        newreq->walker = walker;
-       hashcpy(newreq->oid.hash, sha1);
+       oidread(&newreq->oid, sha1);
        newreq->repo = data->alt;
        newreq->state = WAITING;
        newreq->req = NULL;