X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diff.c;h=377ec1ea4cd90524f7c7525846fc95c3a9e66920;hb=19a6cd372a998df3079d870e02c064c5bb101841;hp=f47bffa2a3641cbf69b2e6d3f0f6c93b05f2c716;hpb=4b4ec3fc6480312515e1ec3d827c1308c00adc1e;p=git.git diff --git a/diff.c b/diff.c index f47bffa2a..377ec1ea4 100644 --- a/diff.c +++ b/diff.c @@ -2255,7 +2255,7 @@ static void builtin_diff(const char *name_a, struct emit_callback ecbdata; const struct userdiff_funcname *pe; - if (!DIFF_XDL_TST(o, WHITESPACE_FLAGS) || must_show_header) { + if (must_show_header) { fprintf(o->file, "%s", header.buf); strbuf_reset(&header); }