summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b2c2e4c)
raw | patch | inline | side by side (parent: b2c2e4c)
author | Johannes Sixt <j6t@kdbg.org> | |
Mon, 25 Jan 2010 12:32:44 +0000 (13:32 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 25 Jan 2010 17:37:18 +0000 (09:37 -0800) |
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>
use_shell, 2009-12-30), for consistency.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c | patch | blob | history |
diff --git a/connect.c b/connect.c
index db965c9982f1f2ae7e08331d3fa1d40e194a6520..3a125621465a68a267d08f74d842238a078c51b2 100644 (file)
--- a/connect.c
+++ b/connect.c
NULL
};
conn->env = env;
- *arg++ = "sh";
- *arg++ = "-c";
+ conn->use_shell = 1;
}
*arg++ = cmd.buf;
*arg = NULL;