On Thu, 30 Jun 2005, A Large Angry SCM wrote:
Have you tried something like the following?
ssh torvalds@master.kernel.org \
'/bin/sh -c "export PATH=/tmp/foo:$PATH ; env"'
The point is that the user does not call "ssh" itself, but git-send-pack
does it automatically.
And that means that git-send-pack will always do the same thing, for any
host it is given. If one host needs a special PATH, that's an effing pain.
However, Kees Cook points out that it's driver error: I set up my PATH in
.bash_profile, and if I just do it in .bashrc instead it all works.
Danke,
Linus