summaryrefslogtreecommitdiff
path: root/ui-log.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-10-05 17:19:59 +0000
committerLars Hjemli <hjemli@gmail.com>2008-10-05 17:19:59 +0000
commitb7f33786ef4b155a11b0324f84bbde5d7fc9c998 (patch)
tree3ccdd8ca2e02cb80814727bddd5083a8ea046843 /ui-log.c
parentb9aabf0b8fbf3a3ab69010ee2c9ed5426c751912 (diff)
downloadcgit-b7f33786ef4b155a11b0324f84bbde5d7fc9c998.tar
cgit-b7f33786ef4b155a11b0324f84bbde5d7fc9c998.tar.gz
cgit-b7f33786ef4b155a11b0324f84bbde5d7fc9c998.zip
Use GIT-1.6.0.2
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui-log.c b/ui-log.c
index 746f40b..8dd8b89 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -92,10 +92,8 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern
rev.verbose_header = 1;
rev.show_root_diff = 0;
setup_revisions(argc, argv, &rev, NULL);
- if (rev.grep_filter) {
- rev.grep_filter->regflags |= REG_ICASE;
- compile_grep_patterns(rev.grep_filter);
- }
+ rev.grep_filter.regflags |= REG_ICASE;
+ compile_grep_patterns(&rev.grep_filter);
prepare_revision_walk(&rev);
if (pager)