Re: "bash: git-upload-pack: command not found" ??
- From
- Oliver Kullmann <o.kullmann@swansea.ac.uk>
- Date
- Mar 6, 2008, 13:54 UTC
- Message-ID
- <20080306135456.GG925@cs-wsok.swansea.ac.uk>
- In-Reply-To
- <20080306124710.GA10266@informatik.uni-freiburg.de>
On Thu, Mar 06, 2008 at 01:47:10PM +0100, Uwe Kleine-König wrote:
Show 15 quoted lines
> Hello, > > Oliver Kullmann wrote: > > Hello, > > > > when using > > > > Transitional> git pull ssh://user@host.xz/~/path/to/Transitional master > > > > on a remote machine I get > > > > Password: > > bash: git-upload-pack: command not found > > fatal: The remote end hung up unexpectedly > Where is git-upload-pack on the server machine?
In the same directory as git, in /usr/local/bin/
> Where do you set your > PATH to include $(basedir git-upload-pack).
Hm, it's set "nowhere". Likely that's the problem: For a standard-user the path includes the git-directory, but not for the git-user.
Show 6 quoted lines
> Does > > git pull --upload-pack /path/to/git-upload-pack ... > > help? >
Yes! That solves it (I won't fiddle around with the path settings, since I have also local installs etc., and that additional specification does the job).
Thanks!
Oliver
-- Dr. Oliver Kullmann Computer Science Department Swansea University Faraday Building, Singleton Park Swansea SA2 8PP, UK http://cs.swan.ac.uk/~csoliver/