{"thread":{"id":"3327","subject":"older git archive access broken in 1.2.0?","startedAt":"2006-02-14T05:06:16Z","lastAt":"2006-02-14T07:00:48Z","messageCount":4,"participants":["Greg KH","Junio C Hamano","Thomas Gleixner"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"16086","messageId":"20060214050616.GA28528@kroah.com","threadId":"3327","inReplyTo":null,"subject":"older git archive access broken in 1.2.0?","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2006-02-14T05:06:16Z","receivedAt":"2006-02-14T05:06:16Z","isPatch":false,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"I was trying to find where something changed in the historical Linux\nkernel git tree:\n\trsync://rsync.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/\n\nwhen I noticed that the latest version of git doesn't seem to like this\narchive.  I can't clone it, but 'git log' and 'git whatchanged' seems to\nwork fine.\n\nAlso, gitk dies with the following error:\n$ gitk\nError in startup script: fatal: '.git': unable to chdir or not a git archive\nfatal: unexpected EOF\nFailed to find remote refs\n    while executing\n\"close $refd\"\n    (procedure \"readrefs\" line 41)\n    invoked from within\n\"readrefs\"\n    (file \"/home/greg/bin/gitk\" line 3744)\n\n\nIs this because I just synced the whole tree over using rsync and didn't\nuse git to clone it a long time ago?  Or that it was created with an\nolder version of git?\n\nI'm not able to clone it locally either:\n\t$ git clone history.git/ test\n\tfatal: '/home/greg/linux/git/history.git/.git': unable to chdir or not a git archive\n\tfatal: unexpected EOF\n\tclone-pack from '/home/greg/linux/git/history.git/.git' failed.\n\nI don't know when this broke with git, as it's been a long time since I\nlooked at this tree...\n\nthanks,\n\ngreg k-h\n"},{"id":"16088","messageId":"7vek26wkwu.fsf@assigned-by-dhcp.cox.net","threadId":"3327","inReplyTo":"20060214050616.GA28528@kroah.com","subject":"Re: older git archive access broken in 1.2.0?","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-02-14T05:48:17Z","receivedAt":"2006-02-14T05:48:17Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Greg KH <greg@kroah.com> writes:\n\n> I was trying to find where something changed in the historical Linux\n> kernel git tree:\n> \trsync://rsync.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/\n>\n> when I noticed that the latest version of git doesn't seem to like this\n> archive.  I can't clone it, but 'git log' and 'git whatchanged' seems to\n> work fine.\n\nI think 1.2.0 may be a coincidence.  history.git/ mistakenly has\nan extra .git subdirectory underneath it.  Removing it should\nmake things to work again I suspect.\n"},{"id":"16094","messageId":"20060214061529.GA853@kroah.com","threadId":"3327","inReplyTo":"7vek26wkwu.fsf@assigned-by-dhcp.cox.net","subject":"Re: older git archive access broken in 1.2.0?","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2006-02-14T06:15:29Z","receivedAt":"2006-02-14T06:15:29Z","isPatch":false,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"On Mon, Feb 13, 2006 at 09:48:17PM -0800, Junio C Hamano wrote:\n> Greg KH <greg@kroah.com> writes:\n> \n> > I was trying to find where something changed in the historical Linux\n> > kernel git tree:\n> > \trsync://rsync.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/\n> >\n> > when I noticed that the latest version of git doesn't seem to like this\n> > archive.  I can't clone it, but 'git log' and 'git whatchanged' seems to\n> > work fine.\n> \n> I think 1.2.0 may be a coincidence.  history.git/ mistakenly has\n> an extra .git subdirectory underneath it.  Removing it should\n> make things to work again I suspect.\n\nAh, doh, that was simple.  Thanks for the quick response.\n\ngreg k-h\n"},{"id":"16100","messageId":"1139900449.2480.515.camel@localhost.localdomain","threadId":"3327","inReplyTo":"20060214061529.GA853@kroah.com","subject":"Re: older git archive access broken in 1.2.0?","fromName":"Thomas Gleixner","fromEmail":"tglx@linutronix.de","sentAt":"2006-02-14T07:00:48Z","receivedAt":"2006-02-14T07:00:48Z","isPatch":false,"sender":{"key":"tglx@linutronix.de","avatar":null},"body":"On Mon, 2006-02-13 at 22:15 -0800, Greg KH wrote:\n> > I think 1.2.0 may be a coincidence.  history.git/ mistakenly has\n> > an extra .git subdirectory underneath it.  Removing it should\n> > make things to work again I suspect.\n> \n> Ah, doh, that was simple.  Thanks for the quick response.\n\nFixed. No idea how it got there. \n\n\ttglx\n"}]}