]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-shared.c
Merge branch 'stable'
[cgit.git] / ui-shared.c
index c398d7aaf85a4ce5dfedbccc97bc844713dd44bf..ae29615a32d04ac8c3e933815e61b64543fdecee 100644 (file)
@@ -349,6 +349,11 @@ void cgit_commit_link(char *name, const char *title, const char *class,
                htmlf("%d", ctx.qry.context);
                delim = "&";
        }
+       if (ctx.qry.ignorews) {
+               html(delim);
+               html("ignorews=1");
+               delim = "&";
+       }
        html("'>");
        html_txt(name);
        html("</a>");
@@ -397,6 +402,11 @@ void cgit_diff_link(const char *name, const char *title, const char *class,
                htmlf("%d", ctx.qry.context);
                delim = "&amp;";
        }
+       if (ctx.qry.ignorews) {
+               html(delim);
+               html("ignorews=1");
+               delim = "&amp;";
+       }
        html("'>");
        html_txt(name);
        html("</a>");