git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* older git archive access broken in 1.2.0?
@ 2006-02-14  5:06 Greg KH
  2006-02-14  5:48 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2006-02-14  5:06 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: older git archive access broken in 1.2.0?
  2006-02-14  5:06 older git archive access broken in 1.2.0? Greg KH
@ 2006-02-14  5:48 ` Junio C Hamano
  2006-02-14  6:15   ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2006-02-14  5:48 UTC (permalink / raw)
  To: Greg KH; +Cc: git

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: older git archive access broken in 1.2.0?
  2006-02-14  5:48 ` Junio C Hamano
@ 2006-02-14  6:15   ` Greg KH
  2006-02-14  7:00     ` Thomas Gleixner
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2006-02-14  6:15 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, tglx

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: older git archive access broken in 1.2.0?
  2006-02-14  6:15   ` Greg KH
@ 2006-02-14  7:00     ` Thomas Gleixner
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Gleixner @ 2006-02-14  7:00 UTC (permalink / raw)
  To: Greg KH; +Cc: Junio C Hamano, git, tglx

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-14  7:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-14  5:06 older git archive access broken in 1.2.0? Greg KH
2006-02-14  5:48 ` Junio C Hamano
2006-02-14  6:15   ` Greg KH
2006-02-14  7:00     ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).