X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=rsh.c;h=dde6f9ce9d77c3425de57a2fb4687ce69bf025f1;hb=977ed47d86c40683a1b84f5226d589e924e95785;hp=bad5cff2c287d3c7dd288308428b89e0cb12299d;hpb=77d604c30974587a2e0d36d92c48cef87f6e8e4d;p=git.git diff --git a/rsh.c b/rsh.c index bad5cff2..dde6f9ce 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);