summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-14 00:28:42 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-14 00:28:42 -0700
commit4d2909e1230a705705392bf51ad2eb60ed2de0a0 (patch)
tree11c136eddebdc92f582cfa3891993b934154f255
parentMerge branch 'master' into next (diff)
parentdiff --stat: no need to ask funcnames nor context. (diff)
downloadtgif-4d2909e1230a705705392bf51ad2eb60ed2de0a0.tar.xz
Merge branch 'js/diffstat' into next
* js/diffstat: diff --stat: no need to ask funcnames nor context.
-rw-r--r--diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/diff.c b/diff.c
index c120239ef3..f1b672d2dc 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);