Re: [PATCH RFC] new config option remote.<name>.pushexec

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shawn O. Pearce
Date: Tuesday, January 16, 2007 - 1:08 pm

Uwe Kleine-K?nig <zeisberg@informatik.uni-freiburg.de> wrote:

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH RFC] new config option remote.&lt;name&gt;.pushexec, Johannes Schindelin, (Tue Jan 16, 8:16 am)
How to merge FETCH_HEAD?, Michael S. Tsirkin, (Tue Jan 16, 10:37 am)
Re: How to merge FETCH_HEAD?, Shawn O. Pearce, (Tue Jan 16, 12:59 pm)
Re: [PATCH RFC] new config option remote.<name>.pushexec, Shawn O. Pearce, (Tue Jan 16, 1:08 pm)
Re: How to merge FETCH_HEAD?, Junio C Hamano, (Tue Jan 16, 1:15 pm)
Re: [PATCH RFC] new config option remote.&lt;name&gt;.pushexec, Johannes Schindelin, (Tue Jan 16, 1:30 pm)
Re: How to merge FETCH_HEAD?, Michael S. Tsirkin, (Tue Jan 16, 2:33 pm)
Re: How to merge FETCH_HEAD?, Johannes Schindelin, (Tue Jan 16, 2:36 pm)
Re: How to merge FETCH_HEAD?, Michael S. Tsirkin, (Tue Jan 16, 10:09 pm)
Re: How to merge FETCH_HEAD?, Junio C Hamano, (Tue Jan 16, 11:14 pm)
Re: How to merge FETCH_HEAD?, Michael S. Tsirkin, (Tue Jan 16, 11:33 pm)