summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-02-11 13:42:39 -0800
committerJunio C Hamano <gitster@pobox.com>2015-02-11 13:42:39 -0800
commit1ba6e860b9589b237502f78c77059d6392f76fd8 (patch)
tree6b78a92fd8b2e5dce0178be33b9054ca58f16d2b /revision.h
parentb19aab58f1bc44e9a6715f26ba32b8c9cda3b1fa (diff)
parent22dfa8a23de4bbb274027736edd3bd311dda2981 (diff)
downloadgit-1ba6e860b9589b237502f78c77059d6392f76fd8.tar.gz
Merge branch 'cj/log-invert-grep'
"git log --invert-grep --grep=WIP" will show only commits that do not have the string "WIP" in their messages. * cj/log-invert-grep: log: teach --invert-grep option
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index 033a24460e..17ebafc4c7 100644
--- a/revision.h
+++ b/revision.h
@@ -169,6 +169,8 @@ struct rev_info {
/* Filter by commit log message */
struct grep_opt grep_filter;
+ /* Negate the match of grep_filter */
+ int invert_grep;
/* Display history graph */
struct git_graph *graph;