tcommit: use simple shortstat - stagit - static git page generator
(HTM) git clone git://src.adamsgaard.dk/stagit
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit ded9719afd1c9108dc6bbebb8205086a740add3b
(DIR) parent 17f9f53ea0406e887516fe61795da970c8ccc17e
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 7 Dec 2015 18:59:30 +0100
commit: use simple shortstat
Diffstat:
M urmoms.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/urmoms.c b/urmoms.c
t@@ -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);