@matheusbsbs / matheus-bagliano / commits / 84981f9ad9
Fork 0

diff --stat: no need to ask funcnames nor context.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Apr 13, 2006 at 21:35 UTC 84981f9ad963f050abf4fe33ac07d36b4ea90c6d
1 file changed +2 -2
diff.c
+2 -2
@@ -438,8 +438,8 @@ static void builtin_diffstat(const char *name_a, const char *name_b,
438 xdemitcb_t ecb;
439
440 xpp.flags = XDF_NEED_MINIMAL;
441 - xecfg.ctxlen = 3;
442 - xecfg.flags = XDL_EMIT_FUNCNAMES;
441 + xecfg.ctxlen = 0;
442 + xecfg.flags = 0;
443 ecb.outf = xdiff_outf;
444 ecb.priv = diffstat;
445 xdl_diff(&mf1, &mf2, &xpp, &xecfg, &ecb);