From: John Freeman <jfreeman@cs.tamu.edu>
To: git@vger.kernel.org
Subject: clone fails: Could not get the current working directory
Date: Sat, 20 Sep 2008 19:49:52 -0500 [thread overview]
Message-ID: <48D59A30.5020403@cs.tamu.edu> (raw)
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
next reply other threads:[~2008-09-21 1:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-21 0:49 John Freeman [this message]
[not found] ` <d3a045300809211012l35b1ec2dq39f4174170d8c926@mail.gmail.com>
2008-09-21 22:18 ` clone fails: Could not get the current working directory 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48D59A30.5020403@cs.tamu.edu \
--to=jfreeman@cs.tamu.edu \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).