git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Freeman <jfreeman@cs.tamu.edu>
To: Paul Johnston <pcj127@gmail.com>, git@vger.kernel.org
Subject: Re: clone fails: Could not get the current working directory
Date: Sun, 21 Sep 2008 17:18:10 -0500	[thread overview]
Message-ID: <48D6C822.7050602@cs.tamu.edu> (raw)
In-Reply-To: <d3a045300809211012l35b1ec2dq39f4174170d8c926@mail.gmail.com>

Paul Johnston wrote:
> On the server, where is git installed? I had a similar problem with
> clone when my git installation was not in a PATH known to ssh. 
It is installed in a non-standard directory, /opt/csg/bin.  This is part 
of the system-wide PATH defined in /etc/bashrc.  I also added it to my 
~/.bashrc before I discovered that fact. 
> Try
> creating symlinks from usr/bin (for example) to your git executables
> to see if this solves the problem.
I did create symlinks in $HOME/local/bin which is in the PATH defined in 
my ~/.bashrc.  I do not have administrator privileges, so I cannot put 
symlinks in /usr/bin.  I think it is finding the executable just fine, 
but that there is some issue with accessing the repo directory.  I have 
tested with

 > ssh user@remote.system.edu -- "git-upload-pack"

and it works as expected.
>   Also, search the archives for
> git-upload-pack.
>   
I've skimmed it, and I see nothing related to my problem.  Specifying 
--upload-pack explicitly gives the same error.

Thank you for the response, though.  Are there any other ideas?

- John

  parent reply	other threads:[~2008-09-21 22:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=48D6C822.7050602@cs.tamu.edu \
    --to=jfreeman@cs.tamu.edu \
    --cc=git@vger.kernel.org \
    --cc=pcj127@gmail.com \
    /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).