From a579fb02561c98a146c9e707d098d2b10aa02015 Mon Sep 17 00:00:00 2001
From: Lars Hjemli <hjemli@gmail.com>
Date: Sat, 19 Jun 2010 12:32:37 +0000
Subject: ui-log.c: allow commit range as search expression

Inspired-by: Johan Herland <johan@herland.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
---
(limited to 'ui-shared.c')

diff --git a/ui-shared.c b/ui-shared.c
index 8827fff..0f65474 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -738,6 +738,7 @@ void cgit_print_pageheader(struct cgit_context *ctx)
 		html_option("grep", "log msg", ctx->qry.grep);
 		html_option("author", "author", ctx->qry.grep);
 		html_option("committer", "committer", ctx->qry.grep);
+		html_option("range", "range", ctx->qry.grep);
 		html("</select>\n");
 		html("<input class='txt' type='text' size='10' name='q' value='");
 		html_attr(ctx->qry.search);
--
cgit v0.9.0.2