threads / discuss / 243

Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

Subject: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

## tl;dr

11 messages between Apr 22, 2005 and Apr 22, 2005.

replies: 10people: 3as markdown or json

Rhys Hardwick· Apr 22, 2005, 13:42 UTC · lore
Hey there,

I am trying to pull the latest repository of the linux-2.6 git from Linus' rsync mirror.

Here is the shell:
===========

rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git defaulting to local storage area gitpull.sh: unknown remote gitinit.sh: pull failed rhys@metatron:~/repo/linux-2.6.repo$ rm -r .git rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git defaulting to local storage area gitpull.sh: unknown remote gitinit.sh: pull failed rhys@metatron:~/repo/linux-2.6.repo$

=============
Any idea why this is not working?
Thanks for any help,
Rhys
Martin Schlemmer· Apr 22, 2005, 13:52 UTC · re: Rhys Hardwick · lore

Re: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

On Fri, 2005-04-22 at 14:42 +0100, Rhys Hardwick wrote:
Show 26 quoted lines
> Hey there,
> 
> I am trying to pull the latest repository of the linux-2.6 git from Linus' 
> rsync mirror.
> 
> Here is the shell:
> 
> ===========
> 
> rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh 
> rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> defaulting to local storage area
> gitpull.sh: unknown remote
> gitinit.sh: pull failed
> rhys@metatron:~/repo/linux-2.6.repo$ rm -r .git
> rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh 
> www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> defaulting to local storage area
> gitpull.sh: unknown remote
> gitinit.sh: pull failed
> rhys@metatron:~/repo/linux-2.6.repo$   
> 
> =============
> 
> Any idea why this is not working?
> 
Try:
 $ git init rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
-- 
Martin Schlemmer
Rhys Hardwick· Apr 22, 2005, 13:50 UTC · re: Martin Schlemmer · lore

Re: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

On Friday 22 Apr 2005 14:52, Martin Schlemmer wrote:
Show 31 quoted lines
> On Fri, 2005-04-22 at 14:42 +0100, Rhys Hardwick wrote:
> > Hey there,
> >
> > I am trying to pull the latest repository of the linux-2.6 git from
> > Linus' rsync mirror.
> >
> > Here is the shell:
> >
> > ===========
> >
> > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> > defaulting to local storage area
> > gitpull.sh: unknown remote
> > gitinit.sh: pull failed
> > rhys@metatron:~/repo/linux-2.6.repo$ rm -r .git
> > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> > defaulting to local storage area
> > gitpull.sh: unknown remote
> > gitinit.sh: pull failed
> > rhys@metatron:~/repo/linux-2.6.repo$
> >
> > =============
> >
> > Any idea why this is not working?
>
> Try:
>
>  $ git init
> rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
Exactly the same, sorry.....
Rhys
Martin Schlemmer· Apr 22, 2005, 14:00 UTC · re: Rhys Hardwick · lore

Re: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

On Fri, 2005-04-22 at 14:50 +0100, Rhys Hardwick wrote:
Show 35 quoted lines
> On Friday 22 Apr 2005 14:52, Martin Schlemmer wrote:
> > On Fri, 2005-04-22 at 14:42 +0100, Rhys Hardwick wrote:
> > > Hey there,
> > >
> > > I am trying to pull the latest repository of the linux-2.6 git from
> > > Linus' rsync mirror.
> > >
> > > Here is the shell:
> > >
> > > ===========
> > >
> > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> > > defaulting to local storage area
> > > gitpull.sh: unknown remote
> > > gitinit.sh: pull failed
> > > rhys@metatron:~/repo/linux-2.6.repo$ rm -r .git
> > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> > > defaulting to local storage area
> > > gitpull.sh: unknown remote
> > > gitinit.sh: pull failed
> > > rhys@metatron:~/repo/linux-2.6.repo$
> > >
> > > =============
> > >
> > > Any idea why this is not working?
> >
> > Try:
> >
> >  $ git init
> > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> 
> Exactly the same, sorry.....
> 

With latest git-pasky, after blowing the .git directory? I am not sure (and have not checked) that git will do the right thing if you retry without clearing.

-- 
Martin Schlemmer
Martin Schlemmer· Apr 22, 2005, 14:44 UTC · lore

Re: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

On Fri, 2005-04-22 at 15:30 +0100, Rhys Hardwick wrote:
Show 48 quoted lines
> On Friday 22 Apr 2005 15:00, Martin Schlemmer wrote:
> > On Fri, 2005-04-22 at 14:50 +0100, Rhys Hardwick wrote:
> > > On Friday 22 Apr 2005 14:52, Martin Schlemmer wrote:
> > > > On Fri, 2005-04-22 at 14:42 +0100, Rhys Hardwick wrote:
> > > > > Hey there,
> > > > >
> > > > > I am trying to pull the latest repository of the linux-2.6 git from
> > > > > Linus' rsync mirror.
> > > > >
> > > > > Here is the shell:
> > > > >
> > > > > ===========
> > > > >
> > > > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> > > > > defaulting to local storage area
> > > > > gitpull.sh: unknown remote
> > > > > gitinit.sh: pull failed
> > > > > rhys@metatron:~/repo/linux-2.6.repo$ rm -r .git
> > > > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > > > www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> > > > > defaulting to local storage area
> > > > > gitpull.sh: unknown remote
> > > > > gitinit.sh: pull failed
> > > > > rhys@metatron:~/repo/linux-2.6.repo$
> > > > >
> > > > > =============
> > > > >
> > > > > Any idea why this is not working?
> > > >
> > > > Try:
> > > >
> > > >  $ git init
> > > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> > >
> > > Exactly the same, sorry.....
> >
> > With latest git-pasky, after blowing the .git directory?  I am not sure
> > (and have not checked) that git will do the right thing if you retry
> > without clearing.
> 
> Yes to all the above.  I pulled the latest today, and make && make install.  
> Also, I have tried it with a .git in place, deleted, in the unpacked 
> 2.6.11-r3 source, all of the above!
> 
> >From what I can gather, it must happen in an empty directory, and that is what 
> the top two examples are.
> 

Really weird. I tested it my side before doing my last reply. Maybe Petr will know.

-- 
Martin Schlemmer
Rhys Hardwick· Apr 22, 2005, 14:43 UTC · re: Martin Schlemmer · lore

Re: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

On Friday 22 Apr 2005 15:44, Martin Schlemmer wrote:
Show 54 quoted lines
> On Fri, 2005-04-22 at 15:30 +0100, Rhys Hardwick wrote:
> > On Friday 22 Apr 2005 15:00, Martin Schlemmer wrote:
> > > On Fri, 2005-04-22 at 14:50 +0100, Rhys Hardwick wrote:
> > > > On Friday 22 Apr 2005 14:52, Martin Schlemmer wrote:
> > > > > On Fri, 2005-04-22 at 14:42 +0100, Rhys Hardwick wrote:
> > > > > > Hey there,
> > > > > >
> > > > > > I am trying to pull the latest repository of the linux-2.6 git
> > > > > > from Linus' rsync mirror.
> > > > > >
> > > > > > Here is the shell:
> > > > > >
> > > > > > ===========
> > > > > >
> > > > > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > > > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6
> > > > > >.git defaulting to local storage area
> > > > > > gitpull.sh: unknown remote
> > > > > > gitinit.sh: pull failed
> > > > > > rhys@metatron:~/repo/linux-2.6.repo$ rm -r .git
> > > > > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > > > > www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> > > > > > defaulting to local storage area
> > > > > > gitpull.sh: unknown remote
> > > > > > gitinit.sh: pull failed
> > > > > > rhys@metatron:~/repo/linux-2.6.repo$
> > > > > >
> > > > > > =============
> > > > > >
> > > > > > Any idea why this is not working?
> > > > >
> > > > > Try:
> > > > >
> > > > >  $ git init
> > > > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.g
> > > > >it
> > > >
> > > > Exactly the same, sorry.....
> > >
> > > With latest git-pasky, after blowing the .git directory?  I am not sure
> > > (and have not checked) that git will do the right thing if you retry
> > > without clearing.
> >
> > Yes to all the above.  I pulled the latest today, and make && make
> > install. Also, I have tried it with a .git in place, deleted, in the
> > unpacked 2.6.11-r3 source, all of the above!
> >
> > >From what I can gather, it must happen in an empty directory, and that
> > > is what
> >
> > the top two examples are.
>
> Really weird.  I tested it my side before doing my last reply.  Maybe
> Petr will know.
Hopefully!
Thanks for the help anywho.....
Rhys
Rhys Hardwick· Apr 22, 2005, 14:54 UTC · re: Rhys Hardwick · lore

Re: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

On Friday 22 Apr 2005 15:43, Rhys Hardwick wrote:
Show 61 quoted lines
> On Friday 22 Apr 2005 15:44, Martin Schlemmer wrote:
> > On Fri, 2005-04-22 at 15:30 +0100, Rhys Hardwick wrote:
> > > On Friday 22 Apr 2005 15:00, Martin Schlemmer wrote:
> > > > On Fri, 2005-04-22 at 14:50 +0100, Rhys Hardwick wrote:
> > > > > On Friday 22 Apr 2005 14:52, Martin Schlemmer wrote:
> > > > > > On Fri, 2005-04-22 at 14:42 +0100, Rhys Hardwick wrote:
> > > > > > > Hey there,
> > > > > > >
> > > > > > > I am trying to pull the latest repository of the linux-2.6 git
> > > > > > > from Linus' rsync mirror.
> > > > > > >
> > > > > > > Here is the shell:
> > > > > > >
> > > > > > > ===========
> > > > > > >
> > > > > > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > > > > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2
> > > > > > >.6 .git defaulting to local storage area
> > > > > > > gitpull.sh: unknown remote
> > > > > > > gitinit.sh: pull failed
> > > > > > > rhys@metatron:~/repo/linux-2.6.repo$ rm -r .git
> > > > > > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > > > > > www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> > > > > > > defaulting to local storage area
> > > > > > > gitpull.sh: unknown remote
> > > > > > > gitinit.sh: pull failed
> > > > > > > rhys@metatron:~/repo/linux-2.6.repo$
> > > > > > >
> > > > > > > =============
> > > > > > >
> > > > > > > Any idea why this is not working?
> > > > > >
> > > > > > Try:
> > > > > >
> > > > > >  $ git init
> > > > > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6
> > > > > >.g it
> > > > >
> > > > > Exactly the same, sorry.....
> > > >
> > > > With latest git-pasky, after blowing the .git directory?  I am not
> > > > sure (and have not checked) that git will do the right thing if you
> > > > retry without clearing.
> > >
> > > Yes to all the above.  I pulled the latest today, and make && make
> > > install. Also, I have tried it with a .git in place, deleted, in the
> > > unpacked 2.6.11-r3 source, all of the above!
> > >
> > > >From what I can gather, it must happen in an empty directory, and that
> > > > is what
> > >
> > > the top two examples are.
> >
> > Really weird.  I tested it my side before doing my last reply.  Maybe
> > Petr will know.
>
> Hopefully!
>
> Thanks for the help anywho.....
>
> Rhys

I think I have some more information. If you remove the -e from the origins file, and put the name at the start of the line, it suddenly works!!!

Cool,
Not sure what was going on there, but hey, Petr will work it out!
Rhys
Martin Schlemmer· Apr 22, 2005, 15:22 UTC · re: Rhys Hardwick · lore

Re: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

On Fri, 2005-04-22 at 15:54 +0100, Rhys Hardwick wrote:
Show 70 quoted lines
> On Friday 22 Apr 2005 15:43, Rhys Hardwick wrote:
> > On Friday 22 Apr 2005 15:44, Martin Schlemmer wrote:
> > > On Fri, 2005-04-22 at 15:30 +0100, Rhys Hardwick wrote:
> > > > On Friday 22 Apr 2005 15:00, Martin Schlemmer wrote:
> > > > > On Fri, 2005-04-22 at 14:50 +0100, Rhys Hardwick wrote:
> > > > > > On Friday 22 Apr 2005 14:52, Martin Schlemmer wrote:
> > > > > > > On Fri, 2005-04-22 at 14:42 +0100, Rhys Hardwick wrote:
> > > > > > > > Hey there,
> > > > > > > >
> > > > > > > > I am trying to pull the latest repository of the linux-2.6 git
> > > > > > > > from Linus' rsync mirror.
> > > > > > > >
> > > > > > > > Here is the shell:
> > > > > > > >
> > > > > > > > ===========
> > > > > > > >
> > > > > > > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > > > > > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2
> > > > > > > >.6 .git defaulting to local storage area
> > > > > > > > gitpull.sh: unknown remote
> > > > > > > > gitinit.sh: pull failed
> > > > > > > > rhys@metatron:~/repo/linux-2.6.repo$ rm -r .git
> > > > > > > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > > > > > > www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.git
> > > > > > > > defaulting to local storage area
> > > > > > > > gitpull.sh: unknown remote
> > > > > > > > gitinit.sh: pull failed
> > > > > > > > rhys@metatron:~/repo/linux-2.6.repo$
> > > > > > > >
> > > > > > > > =============
> > > > > > > >
> > > > > > > > Any idea why this is not working?
> > > > > > >
> > > > > > > Try:
> > > > > > >
> > > > > > >  $ git init
> > > > > > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6
> > > > > > >.g it
> > > > > >
> > > > > > Exactly the same, sorry.....
> > > > >
> > > > > With latest git-pasky, after blowing the .git directory?  I am not
> > > > > sure (and have not checked) that git will do the right thing if you
> > > > > retry without clearing.
> > > >
> > > > Yes to all the above.  I pulled the latest today, and make && make
> > > > install. Also, I have tried it with a .git in place, deleted, in the
> > > > unpacked 2.6.11-r3 source, all of the above!
> > > >
> > > > >From what I can gather, it must happen in an empty directory, and that
> > > > > is what
> > > >
> > > > the top two examples are.
> > >
> > > Really weird.  I tested it my side before doing my last reply.  Maybe
> > > Petr will know.
> >
> > Hopefully!
> >
> > Thanks for the help anywho.....
> >
> > Rhys
> 
> I think I have some more information.  If you remove the -e from the origins 
> file, and put the name at the start of the line, it suddenly works!!!
> 
> Cool,
> 
> Not sure what was going on there, but hey, Petr will work it out!
> 

Seems your /bin/sh do not support 'echo -e' ... Know what provides your /bin/sh (I think ash at least do support it)?

Petr, I think you should really start to consider going full bash?
-- 
Martin Schlemmer
Rhys Hardwick· Apr 22, 2005, 15:24 UTC · re: Martin Schlemmer · lore

Re: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

On Friday 22 Apr 2005 16:22, Martin Schlemmer wrote:
Show 74 quoted lines
> On Fri, 2005-04-22 at 15:54 +0100, Rhys Hardwick wrote:
> > On Friday 22 Apr 2005 15:43, Rhys Hardwick wrote:
> > > On Friday 22 Apr 2005 15:44, Martin Schlemmer wrote:
> > > > On Fri, 2005-04-22 at 15:30 +0100, Rhys Hardwick wrote:
> > > > > On Friday 22 Apr 2005 15:00, Martin Schlemmer wrote:
> > > > > > On Fri, 2005-04-22 at 14:50 +0100, Rhys Hardwick wrote:
> > > > > > > On Friday 22 Apr 2005 14:52, Martin Schlemmer wrote:
> > > > > > > > On Fri, 2005-04-22 at 14:42 +0100, Rhys Hardwick wrote:
> > > > > > > > > Hey there,
> > > > > > > > >
> > > > > > > > > I am trying to pull the latest repository of the linux-2.6
> > > > > > > > > git from Linus' rsync mirror.
> > > > > > > > >
> > > > > > > > > Here is the shell:
> > > > > > > > >
> > > > > > > > > ===========
> > > > > > > > >
> > > > > > > > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > > > > > > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/lin
> > > > > > > > >ux-2 .6 .git defaulting to local storage area
> > > > > > > > > gitpull.sh: unknown remote
> > > > > > > > > gitinit.sh: pull failed
> > > > > > > > > rhys@metatron:~/repo/linux-2.6.repo$ rm -r .git
> > > > > > > > > rhys@metatron:~/repo/linux-2.6.repo$ gitinit.sh
> > > > > > > > > www.kernel.org/pub/linux/kernel/people/torvalds/linux-2.6.g
> > > > > > > > >it defaulting to local storage area
> > > > > > > > > gitpull.sh: unknown remote
> > > > > > > > > gitinit.sh: pull failed
> > > > > > > > > rhys@metatron:~/repo/linux-2.6.repo$
> > > > > > > > >
> > > > > > > > > =============
> > > > > > > > >
> > > > > > > > > Any idea why this is not working?
> > > > > > > >
> > > > > > > > Try:
> > > > > > > >
> > > > > > > >  $ git init
> > > > > > > > rsync://www.kernel.org/pub/linux/kernel/people/torvalds/linux
> > > > > > > >-2.6 .g it
> > > > > > >
> > > > > > > Exactly the same, sorry.....
> > > > > >
> > > > > > With latest git-pasky, after blowing the .git directory?  I am
> > > > > > not sure (and have not checked) that git will do the right thing
> > > > > > if you retry without clearing.
> > > > >
> > > > > Yes to all the above.  I pulled the latest today, and make && make
> > > > > install. Also, I have tried it with a .git in place, deleted, in
> > > > > the unpacked 2.6.11-r3 source, all of the above!
> > > > >
> > > > > >From what I can gather, it must happen in an empty directory, and
> > > > > > that is what
> > > > >
> > > > > the top two examples are.
> > > >
> > > > Really weird.  I tested it my side before doing my last reply.  Maybe
> > > > Petr will know.
> > >
> > > Hopefully!
> > >
> > > Thanks for the help anywho.....
> >
> > I think I have some more information.  If you remove the -e from the
> > origins file, and put the name at the start of the line, it suddenly
> > works!!!
> >
> > Cool,
> >
> > Not sure what was going on there, but hey, Petr will work it out!
>
> Seems your /bin/sh do not support 'echo -e' ... Know what provides
> your /bin/sh (I think ash at least do support it)?
>
> Petr, I think you should really start to consider going full bash?
I use dash...
Petr Baudis· Apr 22, 2005, 22:43 UTC · re: Rhys Hardwick · lore

Re: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

Dear diary, on Fri, Apr 22, 2005 at 05:24:27PM CEST, I got a letter where Rhys Hardwick <rhys@rhyshardwick.co.uk> told me that...

Show 6 quoted lines
> > Seems your /bin/sh do not support 'echo -e' ... Know what provides
> > your /bin/sh (I think ash at least do support it)?
> >
> > Petr, I think you should really start to consider going full bash?
> 
> I use dash...

FYI, I've succumbed to the real world out there and switched the whole thing to use bash.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Rhys Hardwick· Apr 22, 2005, 23:24 UTC · re: Petr Baudis · lore

Re: Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails

Petr Baudis wrote:
Show 14 quoted lines
> Dear diary, on Fri, Apr 22, 2005 at 05:24:27PM CEST, I got a letter
> where Rhys Hardwick <rhys@rhyshardwick.co.uk> told me that...
> 
>>>Seems your /bin/sh do not support 'echo -e' ... Know what provides
>>>your /bin/sh (I think ash at least do support it)?
>>>
>>>Petr, I think you should really start to consider going full bash?
>>
>>I use dash...
> 
> 
> FYI, I've succumbed to the real world out there and switched the whole
> thing to use bash.
> 

Thanks for that Petr. I am wondering, what do you and the other developers use? When I apt-get install ash (debian unstable), which I tried to do to fix this problem, all it did was add a symlink to dash!!

← back to recent threads