diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-02-11 22:42:39 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-11 22:42:39 +0100 |
commit | 1ba6e860b9589b237502f78c77059d6392f76fd8 (patch) | |
tree | 6b78a92fd8b2e5dce0178be33b9054ca58f16d2b /Documentation | |
parent | Merge branch 'km/gettext-n' (diff) | |
parent | log: teach --invert-grep option (diff) | |
download | git-1ba6e860b9589b237502f78c77059d6392f76fd8.tar.xz git-1ba6e860b9589b237502f78c77059d6392f76fd8.zip |
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 'Documentation')
-rw-r--r-- | Documentation/rev-list-options.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index 2984f407a9..0f3d460d34 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -66,6 +66,10 @@ if it is part of the log message. Limit the commits output to ones that match all given `--grep`, instead of ones that match at least one. +--invert-grep:: + Limit the commits output to ones with log message that do not + match the pattern specified with `--grep=<pattern>`. + -i:: --regexp-ignore-case:: Match the regular expression limiting patterns without regard to letter |