diff: run external diff helper with shell
[gitweb.git] / diff.c
diff --git a/diff.c b/diff.c
index 4af7c3f9257a32ce694ff3dc902fe0aa71d4820b..3b235e39ba13d407c4c472f91e658fa45902327b 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -2275,7 +2275,7 @@ static void run_external_diff(const char *pgm,
        }
        *arg = NULL;
        fflush(NULL);
-       retval = run_command_v_opt(spawn_arg, 0);
+       retval = run_command_v_opt(spawn_arg, RUN_USING_SHELL);
        remove_tempfile();
        if (retval) {
                fprintf(stderr, "external diff died, stopping at %s.\n", name);