Re: "git-send-pack"
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Jun 30, 2005, 19:04 UTC
- Message-ID
- <Pine.LNX.4.58.0506301159120.14331@ppc970.osdl.org>
- In-Reply-To
- <42C438CA.3040507@gmail.com>
On Thu, 30 Jun 2005, A Large Angry SCM wrote:
Show 5 quoted lines
> > 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