summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-02-11 13:42:39 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-02-11 13:42:39 -0800
commit1ba6e860b9589b237502f78c77059d6392f76fd8 (patch)
tree6b78a92fd8b2e5dce0178be33b9054ca58f16d2b /revision.h
parentMerge branch 'km/gettext-n' (diff)
parentlog: teach --invert-grep option (diff)
downloadtgif-1ba6e860b9589b237502f78c77059d6392f76fd8.tar.xz
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;