# older git archive access broken in 1.2.0?

4 messages from 2006-02-14 to 2006-02-14. Participants: Greg KH, Junio C Hamano, Thomas Gleixner.
Thread: https://gitlist.dev/t/3327

## Greg KH, 2006-02-14 05:06

Subject: older git archive access broken in 1.2.0?
Message-ID: <20060214050616.GA28528@kroah.com>
URL: https://gitlist.dev/e/20060214050616.GA28528%40kroah.com

```
I was trying to find where something changed in the historical Linux
kernel git tree:
	rsync://rsync.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/

when I noticed that the latest version of git doesn't seem to like this
archive.  I can't clone it, but 'git log' and 'git whatchanged' seems to
work fine.

Also, gitk dies with the following error:
$ gitk
Error in startup script: fatal: '.git': unable to chdir or not a git archive
fatal: unexpected EOF
Failed to find remote refs
    while executing
"close $refd"
    (procedure "readrefs" line 41)
    invoked from within
"readrefs"
    (file "/home/greg/bin/gitk" line 3744)


Is this because I just synced the whole tree over using rsync and didn't
use git to clone it a long time ago?  Or that it was created with an
older version of git?

I'm not able to clone it locally either:
	$ git clone history.git/ test
	fatal: '/home/greg/linux/git/history.git/.git': unable to chdir or not a git archive
	fatal: unexpected EOF
	clone-pack from '/home/greg/linux/git/history.git/.git' failed.

I don't know when this broke with git, as it's been a long time since I
looked at this tree...

thanks,

greg k-h

```

## Junio C Hamano, 2006-02-14 05:48

Subject: Re: older git archive access broken in 1.2.0?
Message-ID: <7vek26wkwu.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vek26wkwu.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20060214050616.GA28528@kroah.com>

```
Greg KH <greg@kroah.com> writes:

> I was trying to find where something changed in the historical Linux
> kernel git tree:
> 	rsync://rsync.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/
>
> when I noticed that the latest version of git doesn't seem to like this
> archive.  I can't clone it, but 'git log' and 'git whatchanged' seems to
> work fine.

I think 1.2.0 may be a coincidence.  history.git/ mistakenly has
an extra .git subdirectory underneath it.  Removing it should
make things to work again I suspect.

```

## Greg KH, 2006-02-14 06:15

Subject: Re: older git archive access broken in 1.2.0?
Message-ID: <20060214061529.GA853@kroah.com>
URL: https://gitlist.dev/e/20060214061529.GA853%40kroah.com
In-Reply-To: <7vek26wkwu.fsf@assigned-by-dhcp.cox.net>

```
On Mon, Feb 13, 2006 at 09:48:17PM -0800, Junio C Hamano wrote:
> Greg KH <greg@kroah.com> writes:
> 
> > I was trying to find where something changed in the historical Linux
> > kernel git tree:
> > 	rsync://rsync.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/
> >
> > when I noticed that the latest version of git doesn't seem to like this
> > archive.  I can't clone it, but 'git log' and 'git whatchanged' seems to
> > work fine.
> 
> I think 1.2.0 may be a coincidence.  history.git/ mistakenly has
> an extra .git subdirectory underneath it.  Removing it should
> make things to work again I suspect.

Ah, doh, that was simple.  Thanks for the quick response.

greg k-h

```

## Thomas Gleixner, 2006-02-14 07:00

Subject: Re: older git archive access broken in 1.2.0?
Message-ID: <1139900449.2480.515.camel@localhost.localdomain>
URL: https://gitlist.dev/e/1139900449.2480.515.camel%40localhost.localdomain
In-Reply-To: <20060214061529.GA853@kroah.com>

```
On Mon, 2006-02-13 at 22:15 -0800, Greg KH wrote:
> > I think 1.2.0 may be a coincidence.  history.git/ mistakenly has
> > an extra .git subdirectory underneath it.  Removing it should
> > make things to work again I suspect.
> 
> Ah, doh, that was simple.  Thanks for the quick response.

Fixed. No idea how it got there. 

	tglx

```
