Merge branch 'nd/diff-flush-before-warning' into maint
[gitweb.git] / diff.c
diff --git a/diff.c b/diff.c
index db4696fdf510d47dd6d235a1c04b8cc550c8e8fe..e9d0e38123a59f2ca54674115df4140836b98f18 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -5454,6 +5454,7 @@ N_("you may want to set your %s variable to at least "
 
 void diff_warn_rename_limit(const char *varname, int needed, int degraded_cc)
 {
+       fflush(stdout);
        if (degraded_cc)
                warning(_(degrade_cc_to_c_warning));
        else if (needed)