aboutsummaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-20 13:21:56 -0700
committerJunio C Hamano <junkio@cox.net>2006-09-20 13:21:56 -0700
commit2d10c555374df257e32848ba6f77fd73d608645f (patch)
treea7f79460ed2f1fad1cd87694b9d80b23219eb669 /revision.h
parent480c1ca6fd8df58a783e231648b489ed2bfd17f1 (diff)
downloadgit-2d10c555374df257e32848ba6f77fd73d608645f.tar.gz
git-2d10c555374df257e32848ba6f77fd73d608645f.tar.xz
git log: Unify header_filter and message_filter into one.
Now we can tell the built-in grep to grep only in head or in body, use that to update --author, --committer, and --grep. Unfortunately, to make --and, --not and other grep boolean expressions useful, as in: # Things written by Junio committed and by Linus and log # does not talk about diff. git log --author=Junio --and --committer=Linus \ --grep-not --grep=diff we will need to do another round of built-in grep core enhancement, because grep boolean expressions are designed to work on one line at a time. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/revision.h b/revision.h
index 60030e53f..3adab9590 100644
--- a/revision.h
+++ b/revision.h
@@ -72,8 +72,7 @@ struct rev_info {
const char *extra_headers;
/* Filter by commit log message */
- struct grep_opt *header_filter;
- struct grep_opt *message_filter;
+ struct grep_opt *grep_filter;
/* special limits */
int max_count;