X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=diff.c;h=cda8d2069efd4f408b17fe7c32c51ab7ccea65cb;hb=1cd95087c331e17c44a8b62f0614d55e621dcfd4;hp=c120239ef34b150e3d4b94b6815714a8a0c33e23;hpb=ece634d1478a9f1bf19eed8a6b7dee305fadd46e;p=git.git diff --git a/diff.c b/diff.c index c120239e..cda8d206 100644 --- a/diff.c +++ b/diff.c @@ -245,8 +245,6 @@ static void show_stats(struct diffstat_t* data) if (data->nr == 0) return; - printf("---\n"); - for (i = 0; i < data->nr; i++) { struct diffstat_file *file = data->files[i]; @@ -438,8 +436,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);