Some of us have UNIX accounts where our shell is the (retarded)
/usr/bin/ksh on Solaris. And where the SSH daemon won't seem to
let us set PATH, and where Git isn't in the PATH. This leaves
us with some difficulty in pointing Git at itself on the remote
system.
I've worked around it with a GIT_SSH wrapper, e.g.
$ cat >~/bin/mygitssh.sh
#!/bin/sh
host="$1"; shift
exec ssh "$host" "PATH=\"/path/to/git:\$PATH\"; exec $@"
^D
$ chmod 755 ~/bin/mygitssh.sh
$ export GIT_SSH=~/bin/mygitssh.sh
Being able to just set pushexec and fetchexec in the .git/config
file would be nice, but GIT_SSH works well for my sad needs.
--
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html