]> asedeno.scripts.mit.edu Git - git.git/blobdiff - connect.c
fix portability issues with $ in double quotes
[git.git] / connect.c
index db965c9982f1f2ae7e08331d3fa1d40e194a6520..3a125621465a68a267d08f74d842238a078c51b2 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -613,8 +613,7 @@ struct child_process *git_connect(int fd[2], const char *url_orig,
                        NULL
                };
                conn->env = env;
-               *arg++ = "sh";
-               *arg++ = "-c";
+               conn->use_shell = 1;
        }
        *arg++ = cmd.buf;
        *arg = NULL;