From: Junio C Hamano Date: Fri, 14 Apr 2006 04:35:54 +0000 (-0700) Subject: diff --stat: no need to ask funcnames nor context. X-Git-Tag: v1.3.0-rc4~2^2 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=84981f9ad963f050abf4fe33ac07d36b4ea90c6d;p=git.git diff --stat: no need to ask funcnames nor context. Signed-off-by: Junio C Hamano --- diff --git a/diff.c b/diff.c index c120239e..f1b672d2 100644 --- a/diff.c +++ b/diff.c @@ -438,8 +438,8 @@ static void builtin_diffstat(const char *name_a, const char *name_b, xdemitcb_t ecb; xpp.flags = XDF_NEED_MINIMAL; - xecfg.ctxlen = 3; - xecfg.flags = XDL_EMIT_FUNCNAMES; + xecfg.ctxlen = 0; + xecfg.flags = 0; ecb.outf = xdiff_outf; ecb.priv = diffstat; xdl_diff(&mf1, &mf2, &xpp, &xecfg, &ecb);