threads / discuss / 7718

Problem cloning Linus' tree via http

Subject: Problem cloning Linus' tree via http

## tl;dr

2 messages between Apr 17, 2007 and Apr 17, 2007.

replies: 1people: 2as markdown or json

Gerald Ruescher· Apr 17, 2007, 15:04 UTC · lore
Hi Folks, 
stupid newbie question: 

I'm trying to clone Linus' kernel tree using git 1.5.1. Since I'm behind a firewall which blocks the git port I use:

   git clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 

At first everything is fine and git happily seems to download the tree. After a while however, git exits with the following error message:

   error: Couldn't get http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/tags/v2.6.11 for tags/v2.6.11
   The requested URL returned error: 404 
   error: Could not interpret tags/v2.6.11 as something to pull 
   rm: cannot remove directory `/cygdrive/c/home/git/linux-2.6/.git/clone-tmp': Directory not empty 
Any hint what I did wrong?  

Many thanks in advance, Gerald

_______________________________________________ Gerald Rüscher Software Development Engineer Core Real-Time Implementation dSPACE GmbH Tel.: +49 5251 1638-1826 Technologiepark 25 Fax: +49 5251 16198-1826 33100 Paderborn http://www.dspace.de Germany mailto:GRuescher@dspace.de _______________________________________________

Linus Torvalds· Apr 17, 2007, 15:57 UTC · re: Gerald Ruescher · lore

Re: Problem cloning Linus' tree via http

On Tue, 17 Apr 2007, Gerald Ruescher wrote:
> 
> stupid newbie question: 
No, I think it's just a "http is stupid", not the newbie.
> I'm trying to clone Linus' kernel tree using git 1.5.1.
> Since I'm behind a firewall which blocks the git port I use: 
> 
>    git clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 

I prune and pack my refs, and I don't think the stupid http-protocol ever got support for packed refs. It should be easy to do, but somebody needs to do it. It won't be me. I'm not a huge fan of the http protocol ;^p

		Linus

← back to recent threads