Skip to content

Commit

Permalink
Merge branch 'jc/maint-diffstat-numstat-context'
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 Oct 10, 2011
2 parents 034a8a0 + f01cae9 commit 7ddd582
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 7ddd582

Please sign in to comment.