From: Martin Langhoff Date: Mon, 07 Nov 2005 02:52:41 GMT Subject: Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object... Message-ID: <46a038f90511061852h5cdf9539o34f69b4deb9f041a@mail.gmail.com> In-Reply-To: <46a038f90511061354k5378a92ckc427841f90ec8b4@mail.gmail.com> On 11/7/05, Martin Langhoff wrote: > Strange! > > I'm getting errors when cloning over http More info on this. git-fetch-pack (invoked by cg-fetch) bails out because it thinks it got a 404 fetching one of the packs: Getting pack 9cbe4a5eb777d4ee535f08feb471e812208ed3a5 which contains 7004cdf821ab5ddcded7819dea34015b0e84cd9a error: Unable to get pack file http://locke.catalyst.net.nz/git/moodle.git//objects/pack/pack-9cbe4a5eb777d4ee535f08feb471e812208ed3a5.pack The requested URL returned error: 404 However, the url is reachable via http (tested with curl and wget) and Apache records the transaction as a 200 OK -- there's no 404 there! (There are 404s, of course, for objects that are in the pack but not for any pack). Trying to read http-fetch.c and http-pull.c to figure out where we could get the return status wrong, but my C is just nonexistant. Hints appreciated. cheers, martin