summaryrefslogtreecommitdiff
path: root/builtin-rev-list.c
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 /builtin-rev-list.c
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 'builtin-rev-list.c')
-rw-r--r--builtin-rev-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index 1f3333da38..fb7fc92145 100644
--- a/builtin-rev-list.c
+++ b/builtin-rev-list.c
@@ -269,7 +269,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
revs.diff)
usage(rev_list_usage);
- save_commit_buffer = revs.verbose_header;
+ save_commit_buffer = revs.verbose_header || revs.grep_filter;
track_object_refs = 0;
if (bisect_list)
revs.limited = 1;