]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-log.c
Add URL parameter 'context' for changing the number of context lines in diffs
[ps-cgit] / ui-log.c
index bfbe436099953599f0ef77abd2c76094599fbf89..5eb5c813beedaebf7bb0921f20c892c0556f9628 100644 (file)
--- a/ui-log.c
+++ b/ui-log.c
@@ -33,7 +33,7 @@ void inspect_files(struct diff_filepair *pair)
        files++;
        if (ctx.repo->enable_log_linecount)
                cgit_diff_files(pair->one->sha1, pair->two->sha1, &old_size,
-                               &new_size, &binary, count_lines);
+                               &new_size, &binary, 0, count_lines);
 }
 
 void show_commit_decorations(struct commit *commit)