threads / discuss / 13017

git cloning fails

Subject: git cloning fails

## tl;dr

5 messages between Apr 8, 2008 and Apr 8, 2008.

replies: 4people: 3as markdown or json

Abraham Arce· Apr 8, 2008, 13:00 UTC · lore
Hello,
While cloning git repository
git clone http://www.kernel.org/pub/scm/git/git.git
I've received the following message:

got 33682a5e98adfd8ba4ce0e21363c443bd273eb77 error: Couldn't get http://www.kernel.org/pub/scm/git/git.git/refs/tags/gitgui-0.6.0 for tags/gitgui-0.6.0 The requested URL returned error: 404 error: Could not interpret tags/gitgui-0.6.0 as something to pull

Any idea?

Best Regards Abraham

Jeff King· Apr 8, 2008, 13:13 UTC · re: Abraham Arce · lore

Re: git cloning fails

On Tue, Apr 08, 2008 at 08:00:20AM -0500, Abraham Arce wrote:
Show 12 quoted lines
> While cloning git repository
> 
> git clone http://www.kernel.org/pub/scm/git/git.git
> 
> I've received the following message:
> 
> got 33682a5e98adfd8ba4ce0e21363c443bd273eb77
> error: Couldn't get
> http://www.kernel.org/pub/scm/git/git.git/refs/tags/gitgui-0.6.0 for
> tags/gitgui-0.6.0
> The requested URL returned error: 404
> error: Could not interpret tags/gitgui-0.6.0 as something to pull

This works just fine for me. Which git version are you using? Does the problem still exist if you try again? If that URL did in fact return a 404, it sounds more like a kernel.org problem.

-Peff
Junio C Hamano· Apr 8, 2008, 18:51 UTC · re: Jeff King · lore

Re: git cloning fails

Jeff King <peff@peff.net> writes:
Show 18 quoted lines
> On Tue, Apr 08, 2008 at 08:00:20AM -0500, Abraham Arce wrote:
>
>> While cloning git repository
>> 
>> git clone http://www.kernel.org/pub/scm/git/git.git
>> 
>> I've received the following message:
>> 
>> got 33682a5e98adfd8ba4ce0e21363c443bd273eb77
>> error: Couldn't get
>> http://www.kernel.org/pub/scm/git/git.git/refs/tags/gitgui-0.6.0 for
>> tags/gitgui-0.6.0
>> The requested URL returned error: 404
>> error: Could not interpret tags/gitgui-0.6.0 as something to pull
>
> This works just fine for me. Which git version are you using? Does the
> problem still exist if you try again? If that URL did in fact return a
> 404, it sounds more like a kernel.org problem.
Mirroring lag among www servers, methinks.
Abraham Arce· Apr 8, 2008, 19:40 UTC · re: Jeff King · lore

Re: git cloning fails

On 4/8/08, Jeff King <peff@peff.net> wrote:
Show 18 quoted lines
> On Tue, Apr 08, 2008 at 08:00:20AM -0500, Abraham Arce wrote:
>
> > While cloning git repository
> >
> > git clone http://www.kernel.org/pub/scm/git/git.git
> >
> > I've received the following message:
> >
> > got 33682a5e98adfd8ba4ce0e21363c443bd273eb77
> > error: Couldn't get
> > http://www.kernel.org/pub/scm/git/git.git/refs/tags/gitgui-0.6.0 for
> > tags/gitgui-0.6.0
> > The requested URL returned error: 404
> > error: Could not interpret tags/gitgui-0.6.0 as something to pull
>
> This works just fine for me. Which git version are you using? Does the
> problem still exist if you try again? If that URL did in fact return a
> 404, it sounds more like a kernel.org problem.

Thanks! I've tried 3 times, the git version I am using is 1.5.0.6.

>
> -Peff
>
Jeff King· Apr 8, 2008, 20:15 UTC · re: Abraham Arce · lore

Re: git cloning fails

On Tue, Apr 08, 2008 at 02:40:14PM -0500, Abraham Arce wrote:
Show 7 quoted lines
> > > error: Couldn't get
> > > http://www.kernel.org/pub/scm/git/git.git/refs/tags/gitgui-0.6.0 for
> > > tags/gitgui-0.6.0
> > > The requested URL returned error: 404
> > > error: Could not interpret tags/gitgui-0.6.0 as something to pull
> [...]
> I've tried 3 times, the git version I am using is 1.5.0.6.

Ah, I was able to reproduce with that version. It looks like 1.5.0.6 doesn't properly fetch packed refs over http. IIRC, it _should_ work with that version (RelNotes-1.5.0 mentions packed refs), but there may be a bug.

That version is over a year old now, and any bug has long since been fixed; can you upgrade to a more modern git?

-Peff

← back to recent threads