summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-17 15:43:40 -0700
committerJunio C Hamano <junkio@cox.net>2006-09-20 11:14:39 -0700
commit8ecae9b032cd0427079d557a3bb6c39116420d4b (patch)
tree1ebfe8b2754c1b8929432791ceb521fc73437ef0 /revision.h
parent83b5d2f5b0c95fe102bc3d1cc2947abbdf5e5c5b (diff)
downloadgit-8ecae9b032cd0427079d557a3bb6c39116420d4b.tar.gz
revision traversal: prepare for commit log match.
This is from a suggestion by Linus, just to mark the locations where we need to modify to actually implement the filtering. We do not have any actual filtering code yet. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index a5c35d05cb..60030e53f4 100644
--- a/revision.h
+++ b/revision.h
@@ -71,6 +71,10 @@ struct rev_info {
const char *add_signoff;
const char *extra_headers;
+ /* Filter by commit log message */
+ struct grep_opt *header_filter;
+ struct grep_opt *message_filter;
+
/* special limits */
int max_count;
unsigned long max_age;