commit: use simple shortstat - stagit-gopher - A git gopher frontend. (mirror)
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
Log
Files
Refs
Tags
README
LICENSE
---
commit ded9719afd1c9108dc6bbebb8205086a740add3b
parent 17f9f53ea0406e887516fe61795da970c8ccc17e
Author: Hiltjo Posthuma 
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(-)
---
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("
", fp); fprintf(fp, "Diffstat:\n"); fputs(diffstatsbuf.ptr, fp);