Skip to content

Commit 7ed7fac

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 41a457e commit 7ed7fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2275,7 +2275,7 @@ static void run_external_diff(const char *pgm,
22752275
}
22762276
*arg = NULL;
22772277
fflush(NULL);
2278-
retval = run_command_v_opt(spawn_arg, 0);
2278+
retval = run_command_v_opt(spawn_arg, RUN_USING_SHELL);
22792279
remove_tempfile();
22802280
if (retval) {
22812281
fprintf(stderr, "external diff died, stopping at %s.\n", name);

0 commit comments

Comments
 (0)