Problem cloning Linus' tree via http

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Problem cloning Linus' tree via http

From: Gerald Ruescher <hidden>
Date: 2016-06-15 22:43:05

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 
_______________________________________________ 

Re: Problem cloning Linus' tree via http

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:43:05


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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help