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

2005-04-22 Thread Rhys Hardwick
Petr Baudis wrote:
Dear diary, on Fri, Apr 22, 2005 at 05:24:27PM CEST, I got a letter
where Rhys Hardwick <[EMAIL PROTECTED]> 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!!

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2005-04-22 Thread Rhys Hardwick
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:
> >
> > ===
> >
> > [EMAIL PROTECTED]:~/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
> > [EMAIL PROTECTED]:~/repo/linux-2.6.repo$ rm -r .git
> > [EMAIL PROTECTED]:~/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
> > [EMAIL PROTECTED]:~/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


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2005-04-22 Thread Rhys Hardwick
Hey there,

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

Here is the shell:

===

[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/repo/linux-2.6.repo$ rm -r .git
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/repo/linux-2.6.repo$   

=

Any idea why this is not working?

Thanks for any help,

Rhys


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Git hangs while executing commit-tree

2005-04-20 Thread Rhys Hardwick
Cheers for the help!

Rhys

On Wednesday 20 Apr 2005 22:35, Petr Baudis wrote:
> Dear diary, on Wed, Apr 20, 2005 at 11:28:35PM CEST, I got a letter
> where Rhys Hardwick <[EMAIL PROTECTED]> told me that...
>
> > Hey,
>
> Hi,
>
> > [EMAIL PROTECTED]:~/repo/tmp.repo$ commit-tree
> > c80156fafbac377ab35beb076090c8320f874f91
> > Committing initial tree c80156fafbac377ab35beb076090c8320f874f91
> >
> >
> >
> > At this point, the command seems to be just waiting.  I have had it
> > waiting for around 2 hours now!  I have tried removing ~/repo/tmp.repo
> > and starting over, with exactly the same results.
>
> just type in your commit message and press ctrl-D now. ;-)
>
> If you can't get along by peeking at the source when you get stuck, etc,
> you might prefer using git-pasky (http://pasky.or.cz/~pasky/dev/git/),
> which will guide you nicely.


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Git hangs while executing commit-tree

2005-04-20 Thread Rhys Hardwick
Hey,

The following is a copy of the terminal session in question:

[EMAIL PROTECTED]:~/repo/tmp.repo$ ls
[EMAIL PROTECTED]:~/repo/tmp.repo$ init-db
defaulting to local storage area
[EMAIL PROTECTED]:~/repo/tmp.repo$ ls -l .git
total 4
drwxr-xr-x  258 rhys rhys 4096 2005-04-20 20:52 objects
[EMAIL PROTECTED]:~/repo/tmp.repo$ ls .git/objects/
00  0d  1a  27  34  41  4e  5b  68  75  82  8f  9c  a9  b6  c3  d0  dd  ea  f7
01  0e  1b  28  35  42  4f  5c  69  76  83  90  9d  aa  b7  c4  d1  de  eb  f8
02  0f  1c  29  36  43  50  5d  6a  77  84  91  9e  ab  b8  c5  d2  df  ec  f9
03  10  1d  2a  37  44  51  5e  6b  78  85  92  9f  ac  b9  c6  d3  e0  ed  fa
04  11  1e  2b  38  45  52  5f  6c  79  86  93  a0  ad  ba  c7  d4  e1  ee  fb
05  12  1f  2c  39  46  53  60  6d  7a  87  94  a1  ae  bb  c8  d5  e2  ef  fc
06  13  20  2d  3a  47  54  61  6e  7b  88  95  a2  af  bc  c9  d6  e3  f0  fd
07  14  21  2e  3b  48  55  62  6f  7c  89  96  a3  b0  bd  ca  d7  e4  f1  fe
08  15  22  2f  3c  49  56  63  70  7d  8a  97  a4  b1  be  cb  d8  e5  f2  ff
09  16  23  30  3d  4a  57  64  71  7e  8b  98  a5  b2  bf  cc  d9  e6  f3
0a  17  24  31  3e  4b  58  65  72  7f  8c  99  a6  b3  c0  cd  da  e7  f4
0b  18  25  32  3f  4c  59  66  73  80  8d  9a  a7  b4  c1  ce  db  e8  f5
0c  19  26  33  40  4d  5a  67  74  81  8e  9b  a8  b5  c2  cf  dc  e9  f6
[EMAIL PROTECTED]:~/repo/tmp.repo$ find . -type f
[EMAIL PROTECTED]:~/repo/tmp.repo$ mkdir src
[EMAIL PROTECTED]:~/repo/tmp.repo$ pico src/hello.c
[EMAIL PROTECTED]:~/repo/tmp.repo$ pico Makefile
[EMAIL PROTECTED]:~/repo/tmp.repo$ update-cache -add Makefile src/hello.c
fatal: unknown option -add
[EMAIL PROTECTED]:~/repo/tmp.repo$ update-cache --add Makefile src/hello.c
[EMAIL PROTECTED]:~/repo/tmp.repo$ write-tree
c80156fafbac377ab35beb076090c8320f874f91
[EMAIL PROTECTED]:~/repo/tmp.repo$ commit-tree 
c80156fafbac377ab35beb076090c8320f874f91
Committing initial tree c80156fafbac377ab35beb076090c8320f874f91
 


At this point, the command seems to be just waiting.  I have had it waiting 
for around 2 hours now!  I have tried removing ~/repo/tmp.repo and starting 
over, with exactly the same results.

I was testing git by following the tutorial posted by Tony Luck on this list.  
I updated and built the latest version of git, using git, at around 2000 GMT 
today.  I have attached the Makefile and hello.c if anyone finds them useful.

Thanks for any help,

Rhys
hello: src/hello.c
	cc -o hello -O src/hello.c

#include 

main()
{
	printf("Hello, world!\n");
}