summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-09-24 19:53:52 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-09-24 19:53:52 -0700
commitb0ed9eafb35b2330d5a96be79307f0e65547febb (patch)
tree2af7dfb166f4f26098acf5ca6cf0289c1375fc23 /revision.h
parentMerge branch 'sb/branch-attributes' (diff)
parentgit log: Unify header_filter and message_filter into one. (diff)
downloadtgif-b0ed9eafb35b2330d5a96be79307f0e65547febb.tar.xz
Merge branch 'jc/filter-commit'
* jc/filter-commit: git log: Unify header_filter and message_filter into one. Update grep internal for grepping only in head/body git-log --author and --committer are not left-anchored by default rev-list: fix segfault with --{author,committer,grep} revision traversal: --author, --committer, and --grep. revision traversal: prepare for commit log match. builtin-grep: make pieces of it available as library.
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index a5c35d05cb..3adab9590a 100644
--- a/revision.h
+++ b/revision.h
@@ -71,6 +71,9 @@ struct rev_info {
const char *add_signoff;
const char *extra_headers;
+ /* Filter by commit log message */
+ struct grep_opt *grep_filter;
+
/* special limits */
int max_count;
unsigned long max_age;