]> git.armaanb.net Git - stagit.git/commitdiff
commit: use simple shortstat
authorHiltjo Posthuma <hiltjo@codemadness.org>
Mon, 7 Dec 2015 17:59:30 +0000 (18:59 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Mon, 7 Dec 2015 17:59:30 +0000 (18:59 +0100)
urmoms.c

index 13c21e232f12cd603a1a6c6ecc01ac87cc2786f8..26a4d057949542ec6deb4254c94954dedf5ffdac 100644 (file)
--- 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);