commit: use simple shortstat
This commit is contained in:
parent
17f9f53ea0
commit
ded9719afd
1 changed files with 1 additions and 2 deletions
3
urmoms.c
3
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);
|
||||
|
|
Loading…
Reference in a new issue