summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-14 04:35:54 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-14 04:35:54 (GMT)
commit84981f9ad963f050abf4fe33ac07d36b4ea90c6d (patch)
tree8e78b53b40d780de1c42935c2b453b289de973d2 /diff.c
parentece634d1478a9f1bf19eed8a6b7dee305fadd46e (diff)
downloadgit-84981f9ad963f050abf4fe33ac07d36b4ea90c6d.zip
git-84981f9ad963f050abf4fe33ac07d36b4ea90c6d.tar.gz
git-84981f9ad963f050abf4fe33ac07d36b4ea90c6d.tar.bz2
diff --stat: no need to ask funcnames nor context.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/diff.c b/diff.c
index c120239..f1b672d 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);