Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/maint-autofix-tag-in-head'
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index fcc0078074c364d0a4c2bd75a6d390e517eb7f87..eed227a6ace278c47a68082015d942dc2fe9cba5 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-2274,6
+2274,8
@@
static void builtin_diffstat(const char *name_a, const char *name_b,
memset(&xpp, 0, sizeof(xpp));
memset(&xecfg, 0, sizeof(xecfg));
xpp.flags = o->xdl_opts;
+ xecfg.ctxlen = o->context;
+ xecfg.interhunkctxlen = o->interhunkcontext;
xdi_diff_outf(&mf1, &mf2, diffstat_consume, diffstat,
&xpp, &xecfg);
}