From ded9719afd1c9108dc6bbebb8205086a740add3b Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Mon, 7 Dec 2015 18:59:30 +0100 Subject: [PATCH] commit: use simple shortstat --- urmoms.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/urmoms.c b/urmoms.c index 13c21e2..26a4d05 100644 --- a/urmoms.c +++ b/urmoms.c @@ -242,8 +242,7 @@ printshowfile(git_commit *commit) /* diff stat */ if (!git_diff_get_stats(&diffstats, diff)) { if (!git_diff_stats_to_buf(&diffstatsbuf, diffstats, - GIT_DIFF_STATS_FULL | GIT_DIFF_STATS_SHORT | GIT_DIFF_STATS_NUMBER | - GIT_DIFF_STATS_INCLUDE_SUMMARY, 80)) { + GIT_DIFF_STATS_FULL | GIT_DIFF_STATS_SHORT, 80)) { fputs("
", fp); fprintf(fp, "Diffstat:\n"); fputs(diffstatsbuf.ptr, fp); -- libgit2 1.1.1