diff options
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -92,10 +92,8 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern | |||
92 | rev.verbose_header = 1; | 92 | rev.verbose_header = 1; |
93 | rev.show_root_diff = 0; | 93 | rev.show_root_diff = 0; |
94 | setup_revisions(argc, argv, &rev, NULL); | 94 | setup_revisions(argc, argv, &rev, NULL); |
95 | if (rev.grep_filter) { | 95 | rev.grep_filter.regflags |= REG_ICASE; |
96 | rev.grep_filter->regflags |= REG_ICASE; | 96 | compile_grep_patterns(&rev.grep_filter); |
97 | compile_grep_patterns(rev.grep_filter); | ||
98 | } | ||
99 | prepare_revision_walk(&rev); | 97 | prepare_revision_walk(&rev); |
100 | 98 | ||
101 | if (pager) | 99 | if (pager) |