From 6821d8ea4a64d15b8f284d1af01ab184ef1e76c3 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 18 Jul 2010 13:03:30 +0000 Subject: Merge branch 'jh/ignorews' --- (limited to 'ui-shared.c') diff --git a/ui-shared.c b/ui-shared.c index c398d7a..ae29615 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -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(""); @@ -397,6 +402,11 @@ void cgit_diff_link(const 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(""); -- cgit v0.9.0.2