{"thread":{"id":"13544","subject":"What am I doing wrong?","startedAt":"2008-05-16T11:25:53Z","lastAt":"2008-05-16T21:16:42Z","messageCount":13,"participants":["Paul Gardiner","Michael J Gruber","Johannes Schindelin","Kevin Ballard"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"77117","messageId":"482D6F41.2060809@laser-point.co.uk","threadId":"13544","inReplyTo":null,"subject":"What am I doing wrong?","fromName":"Paul Gardiner","fromEmail":"paul@laser-point.co.uk","sentAt":"2008-05-16T11:25:53Z","receivedAt":"2008-05-16T11:25:53Z","isPatch":false,"sender":{"key":"paul@laser-point.co.uk","avatar":null},"body":"I create the initial repository with\n\n     git-clone /<full-path>/<name>.git/ <folder>\n\nThat works fine, but then I can't fetch. git-fetch gives the error\n\"fatal: 'origin': unable to chdir or not a git archive\"\n\"fatal: The remote end hung up unexpectedly\"\n\nP.\n"},{"id":"77118","messageId":"g0js1p$l22$1@ger.gmane.org","threadId":"13544","inReplyTo":"482D6F41.2060809@laser-point.co.uk","subject":"Re: What am I doing wrong?","fromName":"Michael J Gruber","fromEmail":"michaeljgruber+gmane@fastmail.fm","sentAt":"2008-05-16T11:43:52Z","receivedAt":"2008-05-16T11:43:52Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:\n> I create the initial repository with\n> \n>      git-clone /<full-path>/<name>.git/ <folder>\n> \n> That works fine, but then I can't fetch. git-fetch gives the error\n> \"fatal: 'origin': unable to chdir or not a git archive\"\n> \"fatal: The remote end hung up unexpectedly\"\n> \n> P.\n\nAre you trying to clone a bare repository?\nOr is your repo maybe at /<full-path>/<name> with a .git subdir?\n\nMichael\n"},{"id":"77121","messageId":"alpine.DEB.1.00.0805161323240.30431@racer","threadId":"13544","inReplyTo":"482D6F41.2060809@laser-point.co.uk","subject":"Re: What am I doing wrong?","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-05-16T12:23:42Z","receivedAt":"2008-05-16T12:23:42Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Fri, 16 May 2008, Paul Gardiner wrote:\n\n> I create the initial repository with\n> \n>     git-clone /<full-path>/<name>.git/ <folder>\n> \n> That works fine, but then I can't fetch. git-fetch gives the error\n> \"fatal: 'origin': unable to chdir or not a git archive\"\n> \"fatal: The remote end hung up unexpectedly\"\n\nDid you chdir into <folder> before trying to fetch?\n\nCiao,\nDscho\n"},{"id":"77123","messageId":"482D7EE1.9020503@laser-point.co.uk","threadId":"13544","inReplyTo":"g0js1p$l22$1@ger.gmane.org","subject":"Re: What am I doing wrong?","fromName":"Paul Gardiner","fromEmail":"paul@laser-point.co.uk","sentAt":"2008-05-16T12:32:33Z","receivedAt":"2008-05-16T12:32:33Z","isPatch":false,"sender":{"key":"paul@laser-point.co.uk","avatar":null},"body":"Michael J Gruber wrote:\n> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:\n>> I create the initial repository with\n>>\n>>      git-clone /<full-path>/<name>.git/ <folder>\n>>\n>> That works fine, but then I can't fetch. git-fetch gives the error\n>> \"fatal: 'origin': unable to chdir or not a git archive\"\n>> \"fatal: The remote end hung up unexpectedly\"\n>>\n>> P.\n> \n> Are you trying to clone a bare repository?\n> Or is your repo maybe at /<full-path>/<name> with a .git subdir?\n\nYes, a bare repository.\n\nP.\n"},{"id":"77122","messageId":"482D7F3F.4030209@laser-point.co.uk","threadId":"13544","inReplyTo":"alpine.DEB.1.00.0805161323240.30431@racer","subject":"Re: What am I doing wrong?","fromName":"Paul Gardiner","fromEmail":"paul@laser-point.co.uk","sentAt":"2008-05-16T12:34:07Z","receivedAt":"2008-05-16T12:34:07Z","isPatch":false,"sender":{"key":"paul@laser-point.co.uk","avatar":null},"body":"Johannes Schindelin wrote:\n> Hi,\n> \n> On Fri, 16 May 2008, Paul Gardiner wrote:\n> \n>> I create the initial repository with\n>>\n>>     git-clone /<full-path>/<name>.git/ <folder>\n>>\n>> That works fine, but then I can't fetch. git-fetch gives the error\n>> \"fatal: 'origin': unable to chdir or not a git archive\"\n>> \"fatal: The remote end hung up unexpectedly\"\n> \n> Did you chdir into <folder> before trying to fetch?\n\nYes, it wasn't that... well to be fair I forgot to chdir\nthe first time, but it warned me about that.\n\nP.\n"},{"id":"77124","messageId":"g0jvig$1dn$1@ger.gmane.org","threadId":"13544","inReplyTo":"482D7EE1.9020503@laser-point.co.uk","subject":"Re: What am I doing wrong?","fromName":"Michael J Gruber","fromEmail":"michaeljgruber+gmane@fastmail.fm","sentAt":"2008-05-16T12:43:59Z","receivedAt":"2008-05-16T12:43:59Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:\n> Michael J Gruber wrote:\n>> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:\n>>> I create the initial repository with\n>>>\n>>>      git-clone /<full-path>/<name>.git/ <folder>\n>>>\n>>> That works fine, but then I can't fetch. git-fetch gives the error\n>>> \"fatal: 'origin': unable to chdir or not a git archive\"\n>>> \"fatal: The remote end hung up unexpectedly\"\n>>>\n>>> P.\n>> Are you trying to clone a bare repository?\n>> Or is your repo maybe at /<full-path>/<name> with a .git subdir?\n> \n> Yes, a bare repository.\n\nThen, maybe the full list of command lines (including cd and git-fetch) \nwould be helpful in order to track this down.\n\nMichael\n"},{"id":"77126","messageId":"482D8BEB.6070706@laser-point.co.uk","threadId":"13544","inReplyTo":"g0jvig$1dn$1@ger.gmane.org","subject":"Re: What am I doing wrong?","fromName":"Paul Gardiner","fromEmail":"paul@laser-point.co.uk","sentAt":"2008-05-16T13:28:11Z","receivedAt":"2008-05-16T13:28:11Z","isPatch":false,"sender":{"key":"paul@laser-point.co.uk","avatar":null},"body":"Michael J Gruber wrote:\n> Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:\n>> Michael J Gruber wrote:\n>>> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:\n>>>> I create the initial repository with\n>>>>\n>>>>      git-clone /<full-path>/<name>.git/ <folder>\n>>>>\n>>>> That works fine, but then I can't fetch. git-fetch gives the error\n>>>> \"fatal: 'origin': unable to chdir or not a git archive\"\n>>>> \"fatal: The remote end hung up unexpectedly\"\n>>>>\n>>>> P.\n>>> Are you trying to clone a bare repository?\n>>> Or is your repo maybe at /<full-path>/<name> with a .git subdir?\n>>\n>> Yes, a bare repository.\n> \n> Then, maybe the full list of command lines (including cd and git-fetch) \n> would be helpful in order to track this down.\n\nOk, sorry, thought it was probable something really obvious. Here's the\nsequence (using git version 1.5.4).\n\n$ git-clone /big/git/paul.git/ epage\nInitialized empty Git repository in /home/paul/epage/.git/\n719749 bolcks\n$ cd epage\n$ git-fetch\nfatal: 'origin': unable to chdir or not a git archive\nfatal: The remote end hung up unexpectedly\n\n\n\nP.\n"},{"id":"77128","messageId":"alpine.DEB.1.00.0805161439100.30431@racer","threadId":"13544","inReplyTo":"482D8BEB.6070706@laser-point.co.uk","subject":"Re: What am I doing wrong?","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-05-16T13:40:14Z","receivedAt":"2008-05-16T13:40:14Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Fri, 16 May 2008, Paul Gardiner wrote:\n\n> Michael J Gruber wrote:\n> > Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:\n> > > Michael J Gruber wrote:\n> > > > Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:\n> > > > > I create the initial repository with\n> > > > >\n> > > > >      git-clone /<full-path>/<name>.git/ <folder>\n> > > > >\n> > > > > That works fine, but then I can't fetch. git-fetch gives the error\n> > > > > \"fatal: 'origin': unable to chdir or not a git archive\"\n> > > > > \"fatal: The remote end hung up unexpectedly\"\n> > > > >\n> > > > > P.\n> > > > Are you trying to clone a bare repository?\n> > > > Or is your repo maybe at /<full-path>/<name> with a .git subdir?\n> > >\n> > > Yes, a bare repository.\n> > \n> > Then, maybe the full list of command lines (including cd and git-fetch)\n> > would be helpful in order to track this down.\n> \n> Ok, sorry, thought it was probable something really obvious. Here's the\n> sequence (using git version 1.5.4).\n> \n> $ git-clone /big/git/paul.git/ epage\n> Initialized empty Git repository in /home/paul/epage/.git/\n> 719749 bolcks\n\nSomething tells me that this is not a copy/paste ;-)\n\n> $ cd epage\n> $ git-fetch\n> fatal: 'origin': unable to chdir or not a git archive\n> fatal: The remote end hung up unexpectedly\n\nIs there a \"[remote \"origin\"]\" section in .git/config?  What Git version \nis this, anyway?\n\nCiao,\nDscho\n"},{"id":"77142","messageId":"g0k6k7$t4k$1@ger.gmane.org","threadId":"13544","inReplyTo":"alpine.DEB.1.00.0805161439100.30431@racer","subject":"Re: What am I doing wrong?","fromName":"Michael J Gruber","fromEmail":"michaeljgruber+gmane@fastmail.fm","sentAt":"2008-05-16T14:44:21Z","receivedAt":"2008-05-16T14:44:21Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"Johannes Schindelin venit, vidit, dixit 16.05.2008 15:40:\n> Hi,\n> \n> On Fri, 16 May 2008, Paul Gardiner wrote:\n> \n>> Michael J Gruber wrote:\n>>> Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:\n>>>> Michael J Gruber wrote:\n>>>>> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:\n>>>>>> I create the initial repository with\n>>>>>>\n>>>>>>      git-clone /<full-path>/<name>.git/ <folder>\n>>>>>>\n>>>>>> That works fine, but then I can't fetch. git-fetch gives the error\n>>>>>> \"fatal: 'origin': unable to chdir or not a git archive\"\n>>>>>> \"fatal: The remote end hung up unexpectedly\"\n>>>>>>\n>>>>>> P.\n>>>>> Are you trying to clone a bare repository?\n>>>>> Or is your repo maybe at /<full-path>/<name> with a .git subdir?\n>>>> Yes, a bare repository.\n>>> Then, maybe the full list of command lines (including cd and git-fetch)\n>>> would be helpful in order to track this down.\n>> Ok, sorry, thought it was probable something really obvious. Here's the\n>> sequence (using git version 1.5.4).\n>>\n>> $ git-clone /big/git/paul.git/ epage\n>> Initialized empty Git repository in /home/paul/epage/.git/\n>> 719749 bolcks\n> \n> Something tells me that this is not a copy/paste ;-)\n\nLet's just hope that's not units of boelkstoff ;)\n\n>> $ cd epage\n>> $ git-fetch\n>> fatal: 'origin': unable to chdir or not a git archive\n>> fatal: The remote end hung up unexpectedly\n> \n> Is there a \"[remote \"origin\"]\" section in .git/config?  What Git version \n> is this, anyway?\n\n1.5.4\n\nCould git trip over that trailing slash? git 1.5.5.1 certainly doesn't.\n\nBTW: The above shows something that confused me initially about cloning: \ngit reports the creation of an empty repo, nothing else. But it does \nmuch more, of course, just without reporting.\n\nMichael\n"},{"id":"77144","messageId":"482DA0AE.1030301@laser-point.co.uk","threadId":"13544","inReplyTo":"alpine.DEB.1.00.0805161439100.30431@racer","subject":"Re: What am I doing wrong?","fromName":"Paul Gardiner","fromEmail":"paul@laser-point.co.uk","sentAt":"2008-05-16T14:56:46Z","receivedAt":"2008-05-16T14:56:46Z","isPatch":false,"sender":{"key":"paul@laser-point.co.uk","avatar":null},"body":"Johannes Schindelin wrote:\n> Hi,\n> \n> On Fri, 16 May 2008, Paul Gardiner wrote:\n> \n>> Michael J Gruber wrote:\n>>> Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:\n>>>> Michael J Gruber wrote:\n>>>>> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:\n>>>>>> I create the initial repository with\n>>>>>>\n>>>>>>      git-clone /<full-path>/<name>.git/ <folder>\n>>>>>>\n>>>>>> That works fine, but then I can't fetch. git-fetch gives the error\n>>>>>> \"fatal: 'origin': unable to chdir or not a git archive\"\n>>>>>> \"fatal: The remote end hung up unexpectedly\"\n>>>>>>\n>>>>>> P.\n>>>>> Are you trying to clone a bare repository?\n>>>>> Or is your repo maybe at /<full-path>/<name> with a .git subdir?\n>>>> Yes, a bare repository.\n>>> Then, maybe the full list of command lines (including cd and git-fetch)\n>>> would be helpful in order to track this down.\n>> Ok, sorry, thought it was probable something really obvious. Here's the\n>> sequence (using git version 1.5.4).\n>>\n>> $ git-clone /big/git/paul.git/ epage\n>> Initialized empty Git repository in /home/paul/epage/.git/\n>> 719749 bolcks\n> \n> Something tells me that this is not a copy/paste ;-)\n\nThe \"big\" bit you mean? :-) It just happened to be the name\nchosen for the mount of a large disc when added to the\nserver.\n\n>> $ cd epage\n>> $ git-fetch\n>> fatal: 'origin': unable to chdir or not a git archive\n>> fatal: The remote end hung up unexpectedly\n> \n> Is there a \"[remote \"origin\"]\" section in .git/config?  What Git version \n> is this, anyway?\n\nNo, not in /home/paul/epage/.git/config. There's just a [core] section. \nI guess that's the problem. I thought git-clone set that up automatically.\n\nIt's v1.5.4\n\nP.\n"},{"id":"77150","messageId":"A1C7509B-20DC-430F-9DB4-A55FC796429E@sb.org","threadId":"13544","inReplyTo":"482DA0AE.1030301@laser-point.co.uk","subject":"Re: What am I doing wrong?","fromName":"Kevin Ballard","fromEmail":"kevin@sb.org","sentAt":"2008-05-16T17:17:02Z","receivedAt":"2008-05-16T17:17:02Z","isPatch":false,"sender":{"key":"kevin@sb.org","avatar":"https://avatars.githubusercontent.com/u/714?v=4"},"body":"On May 16, 2008, at 10:56 AM, Paul Gardiner wrote:\n\n>>> Ok, sorry, thought it was probable something really obvious.  \n>>> Here's the\n>>> sequence (using git version 1.5.4).\n>>>\n>>> $ git-clone /big/git/paul.git/ epage\n>>> Initialized empty Git repository in /home/paul/epage/.git/\n>>> 719749 bolcks\n>> Something tells me that this is not a copy/paste ;-)\n>\n> The \"big\" bit you mean? :-) It just happened to be the name\n> chosen for the mount of a large disc when added to the\n> server.\n\nNo, I think it's the \"bolcks\" :P\n\n-Kevin Ballard\n\n-- \nKevin Ballard\nhttp://kevin.sb.org\nkevin@sb.org\nhttp://www.tildesoft.com\n"},{"id":"77157","messageId":"482DF890.2020502@laser-point.co.uk","threadId":"13544","inReplyTo":"A1C7509B-20DC-430F-9DB4-A55FC796429E@sb.org","subject":"Re: What am I doing wrong?","fromName":"Paul Gardiner","fromEmail":"paul@laser-point.co.uk","sentAt":"2008-05-16T21:11:44Z","receivedAt":"2008-05-16T21:11:44Z","isPatch":false,"sender":{"key":"paul@laser-point.co.uk","avatar":null},"body":"Kevin Ballard wrote:\n> On May 16, 2008, at 10:56 AM, Paul Gardiner wrote:\n> \n>>>> Ok, sorry, thought it was probable something really obvious. Here's the\n>>>> sequence (using git version 1.5.4).\n>>>>\n>>>> $ git-clone /big/git/paul.git/ epage\n>>>> Initialized empty Git repository in /home/paul/epage/.git/\n>>>> 719749 bolcks\n>>> Something tells me that this is not a copy/paste ;-)\n>>\n>> The \"big\" bit you mean? :-) It just happened to be the name\n>> chosen for the mount of a large disc when added to the\n>> server.\n> \n> No, I think it's the \"bolcks\" :P\n\n:-) Oh yeah, I left two letters out!\n\nP.\n"},{"id":"77158","messageId":"482DF9BA.1080508@laser-point.co.uk","threadId":"13544","inReplyTo":"g0k6k7$t4k$1@ger.gmane.org","subject":"Re: What am I doing wrong?","fromName":"Paul Gardiner","fromEmail":"paul@laser-point.co.uk","sentAt":"2008-05-16T21:16:42Z","receivedAt":"2008-05-16T21:16:42Z","isPatch":false,"sender":{"key":"paul@laser-point.co.uk","avatar":null},"body":"Michael J Gruber wrote:\n> Johannes Schindelin venit, vidit, dixit 16.05.2008 15:40:\n>> Hi,\n>>\n>> On Fri, 16 May 2008, Paul Gardiner wrote:\n>>\n>>> Michael J Gruber wrote:\n>>>> Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:\n>>>>> Michael J Gruber wrote:\n>>>>>> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:\n>>>>>>> I create the initial repository with\n>>>>>>>\n>>>>>>>      git-clone /<full-path>/<name>.git/ <folder>\n>>>>>>>\n>>>>>>> That works fine, but then I can't fetch. git-fetch gives the error\n>>>>>>> \"fatal: 'origin': unable to chdir or not a git archive\"\n>>>>>>> \"fatal: The remote end hung up unexpectedly\"\n>>>>>>>\n>>>>>>> P.\n>>>>>> Are you trying to clone a bare repository?\n>>>>>> Or is your repo maybe at /<full-path>/<name> with a .git subdir?\n>>>>> Yes, a bare repository.\n>>>> Then, maybe the full list of command lines (including cd and git-fetch)\n>>>> would be helpful in order to track this down.\n>>> Ok, sorry, thought it was probable something really obvious. Here's the\n>>> sequence (using git version 1.5.4).\n>>>\n>>> $ git-clone /big/git/paul.git/ epage\n>>> Initialized empty Git repository in /home/paul/epage/.git/\n>>> 719749 bolcks\n>>\n>> Something tells me that this is not a copy/paste ;-)\n> \n> Let's just hope that's not units of boelkstoff ;)\n> \n>>> $ cd epage\n>>> $ git-fetch\n>>> fatal: 'origin': unable to chdir or not a git archive\n>>> fatal: The remote end hung up unexpectedly\n>>\n>> Is there a \"[remote \"origin\"]\" section in .git/config?  What Git \n>> version is this, anyway?\n> \n> 1.5.4\n> \n> Could git trip over that trailing slash? git 1.5.5.1 certainly doesn't.\n\nThe documentation suggests having the trailing slash, and I think I\ntried without, but I'll try again just in case.\n\n> BTW: The above shows something that confused me initially about cloning: \n> git reports the creation of an empty repo, nothing else. But it does \n> much more, of course, just without reporting.\n\nOh yeah, I realise the fetch is already done by the clone, and that\ngit-fetch wouldn't bring anything new in right after the clone, but\nthere are other pushers for that repo.\n\nP.\n"}]}