]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-log.c
Add URL parameter 'ignorews' for optionally ignoring whitespace in diffs
[ps-cgit] / ui-log.c
index 5eb5c813beedaebf7bb0921f20c892c0556f9628..354ee080e0b9f7b73853e0f311b262e82bd7a2d4 100644 (file)
--- a/ui-log.c
+++ b/ui-log.c
@@ -33,7 +33,8 @@ 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, 0, count_lines);
+                               &new_size, &binary, 0, ctx.qry.ignorews,
+                               count_lines);
 }
 
 void show_commit_decorations(struct commit *commit)