Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
cvsserver: add comments about database schema/usage
[gitweb.git]
/
grep.c
diff --git
a/grep.c
b/grep.c
index d70dcdf0ef2d012f81c0ff0490961bd46d54312d..edc7776677ed201dbe117c207a680e1f832737e3 100644
(file)
--- a/
grep.c
+++ b/
grep.c
@@
-64,6
+64,8
@@
void append_header_grep_pattern(struct grep_opt *opt,
{
struct grep_pat *p = create_grep_pat(pat, strlen(pat), "header", 0,
GREP_PATTERN_HEAD, field);
+ if (field == GREP_HEADER_REFLOG)
+ opt->use_reflog_filter = 1;
do_append_grep_pat(&opt->header_tail, p);
}