diff options
author | Johannes Sixt <j6t@kdbg.org> | 2010-01-25 13:32:44 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-25 09:37:18 -0800 |
commit | 4cfb2a44bb79fd06763f740754902c31d5ea9ccc (patch) | |
tree | 4401d7a3bf4ded03d687e706e47dad83bdedf4b3 /connect.c | |
parent | b2c2e4c22c6a4fe151f02380d247cf3d9a9d5d1e (diff) | |
download | git-4cfb2a44bb79fd06763f740754902c31d5ea9ccc.tar.gz |
git_connect: use use_shell instead of explicit "sh", "-c"
This is a followup to ac0ba18 (run-command: convert simple callsites to
use_shell, 2009-12-30), for consistency.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connect.c')
-rw-r--r-- | connect.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |