X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diff.c;h=d922b77aef2da84824a8e14fc21961e36e6d2e36;hb=6c65b5ea439165512d128e18829b67688ddab9cc;hp=977ca7125b9acc603ce6c1d27c57a75c9d21fbdf;hpb=e63f87a6f7a4e55f50e67b112f26d9a1e4e7f3ab;p=git.git diff --git a/diff.c b/diff.c index 977ca7125..d922b77ae 100644 --- 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); }