Skip to content

Commit

Permalink
Merge branch 'jc/maint-diffstat-numstat-context' into maint
Browse files Browse the repository at this point in the history
* jc/maint-diffstat-numstat-context:
  diff: teach --stat/--numstat to honor -U$num
  • Loading branch information
Junio C Hamano committed Nov 1, 2011
2 parents dddc411 + f01cae9 commit eee947f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit eee947f

Please sign in to comment.