Hi,

On Tue, Feb 19, 2008 at 04:19:51PM -0500, Daniel Jacobowitz wrote:
> On Tue, Feb 19, 2008 at 08:54:07PM +0100, Sebastian Harl wrote:
> > On Tue, Feb 19, 2008 at 01:34:54PM -0500, Daniel Jacobowitz wrote:
> > > I ran "git clone git://repo.or.cz/gdb.git".  That repository has
> > > branches "mirror" and "python" only at present.  Clone seems to have
> > > bailed out without setting up enough to fetch again:
> > > 
> > > fatal: 'origin': unable to chdir or not a git archive
> > 
> > This works fine with a self-compiled Git 1.5.4.2. Could you please
> > verify that the same applies for 1.5.4.2 from unstable and close this
> > bug if appropriate? Thanks.
> 
> Nope, it does not work:
> 
> % git version
> git version 1.5.4.2
> % git clone git://repo.or.cz/gdb.git
> Initialized empty Git repository in
> /space/fsf/python-bindings/vladimir/test/gdb/.git/
> remote: Counting objects: 12726, done.
> remote: Compressing objects: 100% (6962/6962), done.
> remote: Total 12726 (delta 5718), reused 12293 (delta 5293)
> Receiving objects: 100% (12726/12726), 20.49 MiB | 382 KiB/s, done.
> Resolving deltas: 100% (5718/5718), done.
> % cd gdb
> % git pull
> fatal: 'origin': unable to chdir or not a git archive
> fatal: The remote end hung up unexpectedly

I'm sorry, I got you wrong. I though git-clone would fail. This isn't
working for me either and I agree that git-clone should correctly
configure "origin" before bailing out. A warning about the missing head
might be a good idea as well.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to