git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
MSMartin Schlemmer <azarah@nosferatu.za.org>
Date
Apr 22, 2005, 15:22 UTC
Message-ID
<1114183357.29271.31.camel@nosferatu.lan>
In-Reply-To
<200504221554.04749.rhys@rhyshardwick.co.uk>
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
Previous: Rhys HardwickNext: Rhys Hardwick
Message 8 of 11 in “Pulling linux-2.6.git with gitinit.sh and gitpull.sh fails”
  1. Rhys HardwickApr 22, 2005
  2. Martin SchlemmerApr 22, 2005
  3. Rhys HardwickApr 22, 2005
  4. Martin SchlemmerApr 22, 2005
  5. Martin SchlemmerApr 22, 2005
  6. Rhys HardwickApr 22, 2005
  7. Rhys HardwickApr 22, 2005
  8. Martin SchlemmerApr 22, 2005
  9. Rhys HardwickApr 22, 2005
  10. Petr BaudisApr 22, 2005
  11. Rhys HardwickApr 22, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.