* What am I doing wrong?
@ 2008-05-16 11:25 Paul Gardiner
2008-05-16 11:43 ` Michael J Gruber
2008-05-16 12:23 ` Johannes Schindelin
0 siblings, 2 replies; 13+ messages in thread
From: Paul Gardiner @ 2008-05-16 11:25 UTC (permalink / raw)
To: git; +Cc: lists
I create the initial repository with
git-clone /<full-path>/<name>.git/ <folder>
That works fine, but then I can't fetch. git-fetch gives the error
"fatal: 'origin': unable to chdir or not a git archive"
"fatal: The remote end hung up unexpectedly"
P.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 11:25 What am I doing wrong? Paul Gardiner
@ 2008-05-16 11:43 ` Michael J Gruber
2008-05-16 12:32 ` Paul Gardiner
2008-05-16 12:23 ` Johannes Schindelin
1 sibling, 1 reply; 13+ messages in thread
From: Michael J Gruber @ 2008-05-16 11:43 UTC (permalink / raw)
To: git
Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:
> I create the initial repository with
>
> git-clone /<full-path>/<name>.git/ <folder>
>
> That works fine, but then I can't fetch. git-fetch gives the error
> "fatal: 'origin': unable to chdir or not a git archive"
> "fatal: The remote end hung up unexpectedly"
>
> P.
Are you trying to clone a bare repository?
Or is your repo maybe at /<full-path>/<name> with a .git subdir?
Michael
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 11:25 What am I doing wrong? Paul Gardiner
2008-05-16 11:43 ` Michael J Gruber
@ 2008-05-16 12:23 ` Johannes Schindelin
2008-05-16 12:34 ` Paul Gardiner
1 sibling, 1 reply; 13+ messages in thread
From: Johannes Schindelin @ 2008-05-16 12:23 UTC (permalink / raw)
To: Paul Gardiner; +Cc: git, lists
Hi,
On Fri, 16 May 2008, Paul Gardiner wrote:
> I create the initial repository with
>
> git-clone /<full-path>/<name>.git/ <folder>
>
> That works fine, but then I can't fetch. git-fetch gives the error
> "fatal: 'origin': unable to chdir or not a git archive"
> "fatal: The remote end hung up unexpectedly"
Did you chdir into <folder> before trying to fetch?
Ciao,
Dscho
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 11:43 ` Michael J Gruber
@ 2008-05-16 12:32 ` Paul Gardiner
2008-05-16 12:43 ` Michael J Gruber
0 siblings, 1 reply; 13+ messages in thread
From: Paul Gardiner @ 2008-05-16 12:32 UTC (permalink / raw)
To: Michael J Gruber; +Cc: git
Michael J Gruber wrote:
> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:
>> I create the initial repository with
>>
>> git-clone /<full-path>/<name>.git/ <folder>
>>
>> That works fine, but then I can't fetch. git-fetch gives the error
>> "fatal: 'origin': unable to chdir or not a git archive"
>> "fatal: The remote end hung up unexpectedly"
>>
>> P.
>
> Are you trying to clone a bare repository?
> Or is your repo maybe at /<full-path>/<name> with a .git subdir?
Yes, a bare repository.
P.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 12:23 ` Johannes Schindelin
@ 2008-05-16 12:34 ` Paul Gardiner
0 siblings, 0 replies; 13+ messages in thread
From: Paul Gardiner @ 2008-05-16 12:34 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git, lists
Johannes Schindelin wrote:
> Hi,
>
> On Fri, 16 May 2008, Paul Gardiner wrote:
>
>> I create the initial repository with
>>
>> git-clone /<full-path>/<name>.git/ <folder>
>>
>> That works fine, but then I can't fetch. git-fetch gives the error
>> "fatal: 'origin': unable to chdir or not a git archive"
>> "fatal: The remote end hung up unexpectedly"
>
> Did you chdir into <folder> before trying to fetch?
Yes, it wasn't that... well to be fair I forgot to chdir
the first time, but it warned me about that.
P.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 12:32 ` Paul Gardiner
@ 2008-05-16 12:43 ` Michael J Gruber
2008-05-16 13:28 ` Paul Gardiner
0 siblings, 1 reply; 13+ messages in thread
From: Michael J Gruber @ 2008-05-16 12:43 UTC (permalink / raw)
To: git
Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:
> Michael J Gruber wrote:
>> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:
>>> I create the initial repository with
>>>
>>> git-clone /<full-path>/<name>.git/ <folder>
>>>
>>> That works fine, but then I can't fetch. git-fetch gives the error
>>> "fatal: 'origin': unable to chdir or not a git archive"
>>> "fatal: The remote end hung up unexpectedly"
>>>
>>> P.
>> Are you trying to clone a bare repository?
>> Or is your repo maybe at /<full-path>/<name> with a .git subdir?
>
> Yes, a bare repository.
Then, maybe the full list of command lines (including cd and git-fetch)
would be helpful in order to track this down.
Michael
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 12:43 ` Michael J Gruber
@ 2008-05-16 13:28 ` Paul Gardiner
2008-05-16 13:40 ` Johannes Schindelin
0 siblings, 1 reply; 13+ messages in thread
From: Paul Gardiner @ 2008-05-16 13:28 UTC (permalink / raw)
To: Michael J Gruber; +Cc: git
Michael J Gruber wrote:
> Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:
>> Michael J Gruber wrote:
>>> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:
>>>> I create the initial repository with
>>>>
>>>> git-clone /<full-path>/<name>.git/ <folder>
>>>>
>>>> That works fine, but then I can't fetch. git-fetch gives the error
>>>> "fatal: 'origin': unable to chdir or not a git archive"
>>>> "fatal: The remote end hung up unexpectedly"
>>>>
>>>> P.
>>> Are you trying to clone a bare repository?
>>> Or is your repo maybe at /<full-path>/<name> with a .git subdir?
>>
>> Yes, a bare repository.
>
> Then, maybe the full list of command lines (including cd and git-fetch)
> would be helpful in order to track this down.
Ok, sorry, thought it was probable something really obvious. Here's the
sequence (using git version 1.5.4).
$ git-clone /big/git/paul.git/ epage
Initialized empty Git repository in /home/paul/epage/.git/
719749 bolcks
$ cd epage
$ git-fetch
fatal: 'origin': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly
P.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 13:28 ` Paul Gardiner
@ 2008-05-16 13:40 ` Johannes Schindelin
2008-05-16 14:44 ` Michael J Gruber
2008-05-16 14:56 ` Paul Gardiner
0 siblings, 2 replies; 13+ messages in thread
From: Johannes Schindelin @ 2008-05-16 13:40 UTC (permalink / raw)
To: Paul Gardiner; +Cc: Michael J Gruber, git
Hi,
On Fri, 16 May 2008, Paul Gardiner wrote:
> Michael J Gruber wrote:
> > Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:
> > > Michael J Gruber wrote:
> > > > Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:
> > > > > I create the initial repository with
> > > > >
> > > > > git-clone /<full-path>/<name>.git/ <folder>
> > > > >
> > > > > That works fine, but then I can't fetch. git-fetch gives the error
> > > > > "fatal: 'origin': unable to chdir or not a git archive"
> > > > > "fatal: The remote end hung up unexpectedly"
> > > > >
> > > > > P.
> > > > Are you trying to clone a bare repository?
> > > > Or is your repo maybe at /<full-path>/<name> with a .git subdir?
> > >
> > > Yes, a bare repository.
> >
> > Then, maybe the full list of command lines (including cd and git-fetch)
> > would be helpful in order to track this down.
>
> Ok, sorry, thought it was probable something really obvious. Here's the
> sequence (using git version 1.5.4).
>
> $ git-clone /big/git/paul.git/ epage
> Initialized empty Git repository in /home/paul/epage/.git/
> 719749 bolcks
Something tells me that this is not a copy/paste ;-)
> $ cd epage
> $ git-fetch
> fatal: 'origin': unable to chdir or not a git archive
> fatal: The remote end hung up unexpectedly
Is there a "[remote "origin"]" section in .git/config? What Git version
is this, anyway?
Ciao,
Dscho
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 13:40 ` Johannes Schindelin
@ 2008-05-16 14:44 ` Michael J Gruber
2008-05-16 21:16 ` Paul Gardiner
2008-05-16 14:56 ` Paul Gardiner
1 sibling, 1 reply; 13+ messages in thread
From: Michael J Gruber @ 2008-05-16 14:44 UTC (permalink / raw)
To: git
Johannes Schindelin venit, vidit, dixit 16.05.2008 15:40:
> Hi,
>
> On Fri, 16 May 2008, Paul Gardiner wrote:
>
>> Michael J Gruber wrote:
>>> Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:
>>>> Michael J Gruber wrote:
>>>>> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:
>>>>>> I create the initial repository with
>>>>>>
>>>>>> git-clone /<full-path>/<name>.git/ <folder>
>>>>>>
>>>>>> That works fine, but then I can't fetch. git-fetch gives the error
>>>>>> "fatal: 'origin': unable to chdir or not a git archive"
>>>>>> "fatal: The remote end hung up unexpectedly"
>>>>>>
>>>>>> P.
>>>>> Are you trying to clone a bare repository?
>>>>> Or is your repo maybe at /<full-path>/<name> with a .git subdir?
>>>> Yes, a bare repository.
>>> Then, maybe the full list of command lines (including cd and git-fetch)
>>> would be helpful in order to track this down.
>> Ok, sorry, thought it was probable something really obvious. Here's the
>> sequence (using git version 1.5.4).
>>
>> $ git-clone /big/git/paul.git/ epage
>> Initialized empty Git repository in /home/paul/epage/.git/
>> 719749 bolcks
>
> Something tells me that this is not a copy/paste ;-)
Let's just hope that's not units of boelkstoff ;)
>> $ cd epage
>> $ git-fetch
>> fatal: 'origin': unable to chdir or not a git archive
>> fatal: The remote end hung up unexpectedly
>
> Is there a "[remote "origin"]" section in .git/config? What Git version
> is this, anyway?
1.5.4
Could git trip over that trailing slash? git 1.5.5.1 certainly doesn't.
BTW: The above shows something that confused me initially about cloning:
git reports the creation of an empty repo, nothing else. But it does
much more, of course, just without reporting.
Michael
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 13:40 ` Johannes Schindelin
2008-05-16 14:44 ` Michael J Gruber
@ 2008-05-16 14:56 ` Paul Gardiner
2008-05-16 17:17 ` Kevin Ballard
1 sibling, 1 reply; 13+ messages in thread
From: Paul Gardiner @ 2008-05-16 14:56 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Michael J Gruber, git, lists
Johannes Schindelin wrote:
> Hi,
>
> On Fri, 16 May 2008, Paul Gardiner wrote:
>
>> Michael J Gruber wrote:
>>> Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:
>>>> Michael J Gruber wrote:
>>>>> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:
>>>>>> I create the initial repository with
>>>>>>
>>>>>> git-clone /<full-path>/<name>.git/ <folder>
>>>>>>
>>>>>> That works fine, but then I can't fetch. git-fetch gives the error
>>>>>> "fatal: 'origin': unable to chdir or not a git archive"
>>>>>> "fatal: The remote end hung up unexpectedly"
>>>>>>
>>>>>> P.
>>>>> Are you trying to clone a bare repository?
>>>>> Or is your repo maybe at /<full-path>/<name> with a .git subdir?
>>>> Yes, a bare repository.
>>> Then, maybe the full list of command lines (including cd and git-fetch)
>>> would be helpful in order to track this down.
>> Ok, sorry, thought it was probable something really obvious. Here's the
>> sequence (using git version 1.5.4).
>>
>> $ git-clone /big/git/paul.git/ epage
>> Initialized empty Git repository in /home/paul/epage/.git/
>> 719749 bolcks
>
> Something tells me that this is not a copy/paste ;-)
The "big" bit you mean? :-) It just happened to be the name
chosen for the mount of a large disc when added to the
server.
>> $ cd epage
>> $ git-fetch
>> fatal: 'origin': unable to chdir or not a git archive
>> fatal: The remote end hung up unexpectedly
>
> Is there a "[remote "origin"]" section in .git/config? What Git version
> is this, anyway?
No, not in /home/paul/epage/.git/config. There's just a [core] section.
I guess that's the problem. I thought git-clone set that up automatically.
It's v1.5.4
P.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 14:56 ` Paul Gardiner
@ 2008-05-16 17:17 ` Kevin Ballard
2008-05-16 21:11 ` Paul Gardiner
0 siblings, 1 reply; 13+ messages in thread
From: Kevin Ballard @ 2008-05-16 17:17 UTC (permalink / raw)
To: Paul Gardiner; +Cc: Johannes Schindelin, Michael J Gruber, git, lists
On May 16, 2008, at 10:56 AM, Paul Gardiner wrote:
>>> Ok, sorry, thought it was probable something really obvious.
>>> Here's the
>>> sequence (using git version 1.5.4).
>>>
>>> $ git-clone /big/git/paul.git/ epage
>>> Initialized empty Git repository in /home/paul/epage/.git/
>>> 719749 bolcks
>> Something tells me that this is not a copy/paste ;-)
>
> The "big" bit you mean? :-) It just happened to be the name
> chosen for the mount of a large disc when added to the
> server.
No, I think it's the "bolcks" :P
-Kevin Ballard
--
Kevin Ballard
http://kevin.sb.org
kevin@sb.org
http://www.tildesoft.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 17:17 ` Kevin Ballard
@ 2008-05-16 21:11 ` Paul Gardiner
0 siblings, 0 replies; 13+ messages in thread
From: Paul Gardiner @ 2008-05-16 21:11 UTC (permalink / raw)
To: Kevin Ballard; +Cc: Johannes Schindelin, Michael J Gruber, git, lists
Kevin Ballard wrote:
> On May 16, 2008, at 10:56 AM, Paul Gardiner wrote:
>
>>>> Ok, sorry, thought it was probable something really obvious. Here's the
>>>> sequence (using git version 1.5.4).
>>>>
>>>> $ git-clone /big/git/paul.git/ epage
>>>> Initialized empty Git repository in /home/paul/epage/.git/
>>>> 719749 bolcks
>>> Something tells me that this is not a copy/paste ;-)
>>
>> The "big" bit you mean? :-) It just happened to be the name
>> chosen for the mount of a large disc when added to the
>> server.
>
> No, I think it's the "bolcks" :P
:-) Oh yeah, I left two letters out!
P.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: What am I doing wrong?
2008-05-16 14:44 ` Michael J Gruber
@ 2008-05-16 21:16 ` Paul Gardiner
0 siblings, 0 replies; 13+ messages in thread
From: Paul Gardiner @ 2008-05-16 21:16 UTC (permalink / raw)
To: Michael J Gruber; +Cc: git, lists
Michael J Gruber wrote:
> Johannes Schindelin venit, vidit, dixit 16.05.2008 15:40:
>> Hi,
>>
>> On Fri, 16 May 2008, Paul Gardiner wrote:
>>
>>> Michael J Gruber wrote:
>>>> Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:
>>>>> Michael J Gruber wrote:
>>>>>> Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:
>>>>>>> I create the initial repository with
>>>>>>>
>>>>>>> git-clone /<full-path>/<name>.git/ <folder>
>>>>>>>
>>>>>>> That works fine, but then I can't fetch. git-fetch gives the error
>>>>>>> "fatal: 'origin': unable to chdir or not a git archive"
>>>>>>> "fatal: The remote end hung up unexpectedly"
>>>>>>>
>>>>>>> P.
>>>>>> Are you trying to clone a bare repository?
>>>>>> Or is your repo maybe at /<full-path>/<name> with a .git subdir?
>>>>> Yes, a bare repository.
>>>> Then, maybe the full list of command lines (including cd and git-fetch)
>>>> would be helpful in order to track this down.
>>> Ok, sorry, thought it was probable something really obvious. Here's the
>>> sequence (using git version 1.5.4).
>>>
>>> $ git-clone /big/git/paul.git/ epage
>>> Initialized empty Git repository in /home/paul/epage/.git/
>>> 719749 bolcks
>>
>> Something tells me that this is not a copy/paste ;-)
>
> Let's just hope that's not units of boelkstoff ;)
>
>>> $ cd epage
>>> $ git-fetch
>>> fatal: 'origin': unable to chdir or not a git archive
>>> fatal: The remote end hung up unexpectedly
>>
>> Is there a "[remote "origin"]" section in .git/config? What Git
>> version is this, anyway?
>
> 1.5.4
>
> Could git trip over that trailing slash? git 1.5.5.1 certainly doesn't.
The documentation suggests having the trailing slash, and I think I
tried without, but I'll try again just in case.
> BTW: The above shows something that confused me initially about cloning:
> git reports the creation of an empty repo, nothing else. But it does
> much more, of course, just without reporting.
Oh yeah, I realise the fetch is already done by the clone, and that
git-fetch wouldn't bring anything new in right after the clone, but
there are other pushers for that repo.
P.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-05-16 21:17 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-16 11:25 What am I doing wrong? Paul Gardiner
2008-05-16 11:43 ` Michael J Gruber
2008-05-16 12:32 ` Paul Gardiner
2008-05-16 12:43 ` Michael J Gruber
2008-05-16 13:28 ` Paul Gardiner
2008-05-16 13:40 ` Johannes Schindelin
2008-05-16 14:44 ` Michael J Gruber
2008-05-16 21:16 ` Paul Gardiner
2008-05-16 14:56 ` Paul Gardiner
2008-05-16 17:17 ` Kevin Ballard
2008-05-16 21:11 ` Paul Gardiner
2008-05-16 12:23 ` Johannes Schindelin
2008-05-16 12:34 ` Paul Gardiner
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).