stagit

static git page generator (mirror)
git clone git://git.2f30.org/stagit
Log | Files | Refs | README | LICENSE

commit ded9719afd1c9108dc6bbebb8205086a740add3b
parent 17f9f53ea0406e887516fe61795da970c8ccc17e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  7 Dec 2015 18:59:30 +0100

commit: use simple shortstat

Diffstat:
Murmoms.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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("<hr/>", fp); fprintf(fp, "Diffstat:\n"); fputs(diffstatsbuf.ptr, fp);