Re: Cloning from sites with 404 overridden
- From
- Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
- Date
- Mar 19, 2006, 13:25 UTC
- Message-ID
- <4d8e3fd30603190525o5a01fba8w5bcdedd064c213ec@mail.gmail.com>
- In-Reply-To
- <e5bfff550603190252n7e3e1cbbp94e3f15c92f12d07@mail.gmail.com>
On 3/19/06, Marco Costalba <mcostalba@gmail.com> wrote:
> Hi all,
Ciao Marco,
Show 35 quoted lines
> I have set a git repository on a hosted public site: > http://digilander.libero.it/mcostalba/scm/qgit.git > > I cannot run any process (read git-daemon) on that site, so git-clone uses > a 'dumb server' type protocol and this is what I got. > > $ git clone http://digilander.libero.it/mcostalba/scm/qgit.git > error: File 8dea03519e75f47da91108330dde3043defddd60 > (http://digilander.libero.it/mcostalba/scm/qgit.git/objects/8d/ea03519e75f47da91108330dde3043defddd60) > corrupt > Getting pack list for http://digilander.libero.it/mcostalba/scm/qgit.git/ > Getting index for pack fe1f3586b38e70e963de47f31379ef170adc5ca9 > Getting pack fe1f3586b38e70e963de47f31379ef170adc5ca9 > which contains 8dea03519e75f47da91108330dde3043defddd60 > walk 8dea03519e75f47da91108330dde3043defddd60 > walk ec47dab590fb838ba2be7af5bf9aa46d9f2e502d > > -------------- cut ------------------------ > > walk 907d47e836f4f174386d02d21e38aeafc1e79626 > walk 5d3454248bbb3aaba080057dc9666a3c3aaeca1f > $ > > The above mentioned error belongs to git requests a non existing object > (8dea03519e75f47da91108330dde3043defddd60) _and_ the site answers with > a pre-canned 'page not found' html page instead of reporting 404 error. > > After some research I found it is quite common for public hosting > sites to use a pre-canned > 'Sorry, no page here' html stuff instead of 404. > > So my request is if it is possible for git to _learn_ this and to > avoid been fooled by > these kind of public sites. >
How about getting an account on kernel.org?
Anyway, here is what I did: paolo@Italia:~$ cg-clone http://digilander.libero.it/mcostalba/scm/qgit.git qgit defaulting to local storage area Fetching head... Fetching objects... error: File 8dea03519e75f47da91108330dde3043defddd60 (http://digilander.libero.i t/mcostalba/scm/qgit.git/objects/8d/ea03519e75f47da91108330dde3043defddd60) corr upt
Getting pack list for http://digilander.libero.it/mcostalba/scm/qgit.git/ Getting index for pack fe1f3586b38e70e963de47f31379ef170adc5ca9 Getting pack fe1f3586b38e70e963de47f31379ef170adc5ca9 which contains 8dea03519e75f47da91108330dde3043defddd60 Fetching tags... Missing tag qgit-0.93... retrieved Missing tag qgit-0.94... retrieved Missing tag qgit-0.94.1... retrieved Missing tag qgit-0.95.1... retrieved Missing tag qgit-0.96... retrieved Missing tag qgit-0.96.1... retrieved Missing tag qgit-0.97... retrieved Missing tag qgit-0.97.1... retrieved Missing tag qgit-0.97.2... retrieved Missing tag qgit-1.0... retrieved Missing tag qgit-1.1rc1... retrieved Missing tag qgit-1.1rc3... retrieved New branch: 8dea03519e75f47da91108330dde3043defddd60 Cloned to qgit/ (origin http://digilander.libero.it/mcostalba/scm/qgit.git available as branch "origin")
Why am I getting this error? error: File 8dea03519e75f47da91108330dde3043defddd60 (http://digilander.libero.i t/mcostalba/scm/qgit.git/objects/8d/ea03519e75f47da91108330dde3043defddd60) corr upt
-- Paolo http://paolociarrocchi.googlepages.com