@matheusbsbs / matheus-bagliano / commits / 7ed7fac45a
Fork 0

diff: run external diff helper with shell

This is mostly to make it more consistent with the rest of git, which uses the shell to exec helpers. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Dec 30, 2009 at 06:03 UTC 7ed7fac45a696ba6343707c7c8f4b268f309be32
1 file changed +1 -1
diff.c
+1 -1
@@ -2275,7 +2275,7 @@ static void run_external_diff(const char *pgm,
2275 }
2276 *arg = NULL;
2277 fflush(NULL);
2278 - retval = run_command_v_opt(spawn_arg, 0);
2278 + retval = run_command_v_opt(spawn_arg, RUN_USING_SHELL);
2279 remove_tempfile();
2280 if (retval) {
2281 fprintf(stderr, "external diff died, stopping at %s.\n", name);