git log: Unify header_filter and message_filter into one.
[git/git.git] / builtin-rev-list.c
index dbfee75..fb7fc92 100644 (file)
@@ -269,9 +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 ||
-               revs.header_filter ||
-               revs.message_filter;
+       save_commit_buffer = revs.verbose_header || revs.grep_filter;
        track_object_refs = 0;
        if (bisect_list)
                revs.limited = 1;