From 68ca032dbe7379f78775fb03ef34a9ad2abc409f Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 28 Oct 2007 15:23:00 +0100 Subject: Teach log search about --grep, --author and --committer This makes the log searching more explicit, using a dropdown box to specify the commit field to match against. Signed-off-by: Lars Hjemli --- ui-shared.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ui-shared.c') diff --git a/ui-shared.c b/ui-shared.c index e4bb98f..45105dc 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -417,9 +417,14 @@ void cgit_print_pageheader(char *title, int show_search) html_hidden("id", cgit_query_sha1); if (cgit_query_sha2) html_hidden("id2", cgit_query_sha2); - html(""); + html_option("grep", "log msg", cgit_query_grep); + html_option("author", "author", cgit_query_grep); + html_option("committer", "committer", cgit_query_grep); + html(""); + html(""); + html("'/>"); } html(""); html(""); -- cgit v1.2.3-59-g8ed1b