aboutsummaryrefslogtreecommitdiff
path: root/rsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'rsh.c')
-rw-r--r--rsh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rsh.c b/rsh.c
index bad5cff2c..dde6f9ce9 100644
--- a/rsh.c
+++ b/rsh.c
@@ -109,8 +109,7 @@ int setup_connection(int *fd_in, int *fd_out, const char *remote_prog,
posn = command;
of = 0;
of |= add_to_string(&posn, &sizen, "env ", 0);
- of |= add_to_string(&posn, &sizen, GIT_DIR_ENVIRONMENT, 0);
- of |= add_to_string(&posn, &sizen, "=", 0);
+ of |= add_to_string(&posn, &sizen, GIT_DIR_ENVIRONMENT "=", 0);
of |= add_to_string(&posn, &sizen, path, 1);
of |= add_to_string(&posn, &sizen, " ", 0);
of |= add_to_string(&posn, &sizen, remote_prog, 1);