git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "bash: git-upload-pack: command not found" ??
@ 2008-03-06 11:06 Oliver Kullmann
  2008-03-06 12:47 ` Uwe Kleine-König
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Kullmann @ 2008-03-06 11:06 UTC (permalink / raw)
  To: git

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

On both machines I have version 1.5.4.3 installed, but this behaviour
was never different in the past (I'm using git for 8 months; to circumvent the
error I always created a copy of the remote repository and then pulled locally).

It might be some path issue, but I don't find anything in the documentation
on how to instruct the remote machine where actually to find git.

Hope that somebody can enable me to use "git pull" as it should be.

Oliver


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

* Re: "bash: git-upload-pack: command not found" ??
  2008-03-06 11:06 "bash: git-upload-pack: command not found" ?? Oliver Kullmann
@ 2008-03-06 12:47 ` Uwe Kleine-König
  2008-03-06 13:54   ` Oliver Kullmann
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2008-03-06 12:47 UTC (permalink / raw)
  To: Oliver Kullmann; +Cc: git

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?  Where do you set your
PATH to include $(basedir git-upload-pack).  Does 

	git pull --upload-pack /path/to/git-upload-pack ...

help?

Best regards
Uwe

-- 
Uwe Kleine-König


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

* Re: "bash: git-upload-pack: command not found" ??
  2008-03-06 12:47 ` Uwe Kleine-König
@ 2008-03-06 13:54   ` Oliver Kullmann
  2008-03-06 19:57     ` Uwe Kleine-König
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Kullmann @ 2008-03-06 13:54 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: git

On Thu, Mar 06, 2008 at 01:47:10PM +0100, Uwe Kleine-König wrote:
> 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.

>  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/

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

* Re: "bash: git-upload-pack: command not found" ??
  2008-03-06 13:54   ` Oliver Kullmann
@ 2008-03-06 19:57     ` Uwe Kleine-König
  0 siblings, 0 replies; 4+ messages in thread
From: Uwe Kleine-König @ 2008-03-06 19:57 UTC (permalink / raw)
  To: Oliver Kullmann; +Cc: git

Hallo Oliver,

Oliver Kullmann wrote:
> >  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).
Then you might like the config variables remote.<name>.uploadpack and
remote.<name>.receivepack.

Best regards,
Uwe

-- 
Uwe Kleine-König


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

end of thread, other threads:[~2008-03-06 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06 11:06 "bash: git-upload-pack: command not found" ?? Oliver Kullmann
2008-03-06 12:47 ` Uwe Kleine-König
2008-03-06 13:54   ` Oliver Kullmann
2008-03-06 19:57     ` Uwe Kleine-König

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