mirror of
https://git.zx2c4.com/cgit
synced 2025-07-10 02:04:33 +02:00
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 <hjemli@gmail.com>
This commit is contained in:
parent
6ec5f36f27
commit
68ca032dbe
7 changed files with 40 additions and 10 deletions
2
cgit.c
2
cgit.c
|
@ -94,7 +94,7 @@ static void cgit_print_repo_page(struct cacheitem *item)
|
|||
switch(cgit_cmd) {
|
||||
case CMD_LOG:
|
||||
cgit_print_log(cgit_query_sha1, cgit_query_ofs,
|
||||
cgit_max_commit_count, cgit_query_search,
|
||||
cgit_max_commit_count, cgit_query_grep, cgit_query_search,
|
||||
cgit_query_path, 1);
|
||||
break;
|
||||
case CMD_TREE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue