# Problem cloning Linus' tree via http

2 messages from 2007-04-17 to 2007-04-17. Participants: Gerald Ruescher, Linus Torvalds.
Thread: https://gitlist.dev/t/7718

## Gerald Ruescher, 2007-04-17 15:04

Subject: Problem cloning Linus' tree via http
Message-ID: <18A49CF3586FC14290887ECC63C9141F0104D04B@exchange2003.dspace.de>
URL: https://gitlist.dev/e/18A49CF3586FC14290887ECC63C9141F0104D04B%40exchange2003.dspace.de

```
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, 2007-04-17 15:57

Subject: Re: Problem cloning Linus' tree via http
Message-ID: <Pine.LNX.4.64.0704170855470.5473@woody.linux-foundation.org>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0704170855470.5473%40woody.linux-foundation.org
In-Reply-To: <18A49CF3586FC14290887ECC63C9141F0104D04B@exchange2003.dspace.de>

```


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

```
