aboutsummaryrefslogtreecommitdiff
path: root/ssh-upload.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2005-09-15 12:33:14 -0700
committerJunio C Hamano <junkio@cox.net>2005-09-15 13:42:03 -0700
commit0de68d28d34f915951324b9f387e6e67172e9951 (patch)
treec4ddf7ba97472b7f8140945eb8760be5ee375e7f /ssh-upload.c
parent22c6e1d0f76f58a425065d3e8e447b6366ccd98c (diff)
downloadgit-0de68d28d34f915951324b9f387e6e67172e9951.tar.gz
git-0de68d28d34f915951324b9f387e6e67172e9951.tar.xz
[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