diff options
author | H. Peter Anvin <hpa@zytor.com> | 2005-09-15 23:33:14 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-16 00:42:03 +0400 |
commit | 0de68d28d34f915951324b9f387e6e67172e9951 (patch) | |
tree | c4ddf7ba97472b7f8140945eb8760be5ee375e7f /ssh-upload.c | |
parent | 22c6e1d0f76f58a425065d3e8e447b6366ccd98c (diff) |
[PATCH] rsh.c env and quoting cleanup, take 2
This patch does proper quoting, and uses "env" to be compatible with
tcsh. As a side benefit, I believe the code is a lot cleaner to read.
[jc: I am accepting this not because I necessarily agree with the
quoting approach taken by it, but because (1) the code is only used
by ssh-fetch/ssh-upload pair which I do not care much about (if you
have ssh account on the remote end you should be using git-send-pack
git-fetch-pack pair over ssh anyway), and (2) HPA is one of the more
important customers belonging to the Linux kernel community and I
want to help his workflow -- which includes not wasting his time by
asking him to switch to git-send-pack/git-fetch-pack pair, nor to use
a better shell ;-). I might not have taken this patch if it mucked
with git_connect in connect.c in its current form.]
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'ssh-upload.c')
0 files changed, 0 insertions, 0 deletions