run_external_diff: drop fflush(NULL)
[gitweb.git] / diff.c
diff --git a/diff.c b/diff.c
index 174f146d0d89e03d4f603c0c2d7cd9153de14388..4bad556812898b3023223313c2b3797dd333fc45 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -2932,7 +2932,6 @@ static void run_external_diff(const char *pgm,
                argv_array_push(&argv, pgm);
                argv_array_push(&argv, name);
        }
-       fflush(NULL);
 
        argv_array_pushf(&env, "GIT_DIFF_PATH_COUNTER=%d", ++o->diff_path_counter);
        argv_array_pushf(&env, "GIT_DIFF_PATH_TOTAL=%d", q->nr);