mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 06:15:08 +00: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:
4
cgit.h
4
cgit.h
@@ -158,6 +158,7 @@ extern char *cgit_querystring;
|
||||
extern char *cgit_query_repo;
|
||||
extern char *cgit_query_page;
|
||||
extern char *cgit_query_search;
|
||||
extern char *cgit_query_grep;
|
||||
extern char *cgit_query_head;
|
||||
extern char *cgit_query_sha1;
|
||||
extern char *cgit_query_sha2;
|
||||
@@ -260,7 +261,8 @@ extern void cgit_print_tags(int maxcount);
|
||||
|
||||
extern void cgit_print_repolist(struct cacheitem *item);
|
||||
extern void cgit_print_summary();
|
||||
extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path, int pager);
|
||||
extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep,
|
||||
char *pattern, char *path, int pager);
|
||||
extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path);
|
||||
extern void cgit_print_tree(const char *rev, char *path);
|
||||
extern void cgit_print_commit(char *hex);
|
||||
|
Reference in New Issue
Block a user