aboutsummaryrefslogtreecommitdiff
path: root/ui-log.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ui-log.c b/ui-log.c
index ba2ab03..3202848 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -26,14 +26,9 @@ 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, &old_size,
- &new_size, &binary, count_lines);
+ cgit_diff_files(pair->one->sha1, pair->two->sha1, count_lines);
}
void show_commit_decorations(struct commit *commit)