git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* clone fails: Could not get the current working directory
@ 2008-09-21  0:49 John Freeman
       [not found] ` <d3a045300809211012l35b1ec2dq39f4174170d8c926@mail.gmail.com>
  2008-09-23 12:39 ` Alex Riesen
  0 siblings, 2 replies; 12+ messages in thread
From: John Freeman @ 2008-09-21  0:49 UTC (permalink / raw)
  To: git

Howdy,

I'm trying to clone a remote repository.  Here's the background:

- The repository is bare, under Bob's home directory on a remote Sun system.
- Bob has set the group permissions for the repo directory to repogroup.
- I have an account on the remote system that is in repogroup.

I am trying to clone the repo on my home machine, using

 > git clone ssh://john@remote.system.edu/home/bob/path/to/repo

It fails with

remote: fatal: Could not get the current working directory
error: git-upload-pack: git-pack-objects died with error.
fatal: git-upload-pack: aborting due to possible repository corruption 
on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed

Checking the source code, this error is triggered after getcwd() returns 
a null pointer in setup.c:set_work_tree(), which is called at only one 
place, in setup.c:setup_git_directory_gently().

Can anyone provide any insight as to why am I seeing this error?

Thank you,
John

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

end of thread, other threads:[~2008-09-24 14:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-21  0:49 clone fails: Could not get the current working directory John Freeman
     [not found] ` <d3a045300809211012l35b1ec2dq39f4174170d8c926@mail.gmail.com>
2008-09-21 22:18   ` John Freeman
2008-09-22 18:32     ` John Freeman
2008-09-23 12:39 ` Alex Riesen
2008-09-23 13:23   ` John Freeman
2008-09-23 14:12     ` Alex Riesen
2008-09-23 14:45       ` John Freeman
2008-09-23 15:01         ` Alex Riesen
2008-09-23 21:16           ` John Freeman
2008-09-24 11:30             ` Alex Riesen
2008-09-24 13:30               ` John Freeman
2008-09-24 14:43                 ` Alex Riesen

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).