X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/7710178e45dee61e85ea77c4221309ce8c086f95..8b2252b0b61617e9de9d9e9ba743881ad62523af:/ui-log.c diff --git a/ui-log.c b/ui-log.c index 3202848..ba2ab03 100644 --- a/ui-log.c +++ b/ui-log.c @@ -26,9 +26,14 @@ void count_lines(char *line, int size) void inspect_files(struct diff_filepair *pair) { + unsigned long old_size = 0; + unsigned long new_size = 0; + int binary = 0; + files++; if (ctx.repo->enable_log_linecount) - cgit_diff_files(pair->one->sha1, pair->two->sha1, count_lines); + cgit_diff_files(pair->one->sha1, pair->two->sha1, &old_size, + &new_size, &binary, count_lines); } void show_commit_decorations(struct commit *commit)