diff options
author | Jakub Narebski <jnareb@gmail.com> | 2008-02-26 13:22:05 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-26 23:59:49 -0800 |
commit | dc1c0fffd3723ceebff51053938db5baf26a47f5 (patch) | |
tree | 067c6b83d4c24ae9ff32e029150b16505fe00485 /Documentation | |
parent | c6fabfafbcebca13cee0047b337b7c7a87e3515e (diff) | |
download | git-dc1c0fffd3723ceebff51053938db5baf26a47f5.tar.gz git-dc1c0fffd3723ceebff51053938db5baf26a47f5.tar.xz |
Add '--fixed-strings' option to "git log --grep" and friends
Add support for -F | --fixed-strings option to "git log --grep"
and friends: "git log --author", "git log --committer=<pattern>".
Code is based on implementation of this option in "git grep".
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-rev-list.txt | 1 | ||||
-rw-r--r-- | Documentation/rev-list-options.txt | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt index 5b96eabfc..a8d489f9f 100644 --- a/Documentation/git-rev-list.txt +++ b/Documentation/git-rev-list.txt @@ -31,6 +31,7 @@ SYNOPSIS [ \--(author|committer|grep)=<pattern> ] [ \--regexp-ignore-case | \-i ] [ \--extended-regexp | \-E ] + [ \--fixed-strings | \-F ] [ \--date={local|relative|default|iso|rfc|short} ] [ [\--objects | \--objects-edge] [ \--unpacked ] ] [ \--pretty | \--header ] diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index a8138e27a..259072c07 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -153,6 +153,11 @@ limiting may be applied. Consider the limiting patterns to be extended regular expressions instead of the default basic regular expressions. +-F, --fixed-strings:: + + Consider the limiting patterns to be fixed strings (don't interpret + pattern as a regular expression). + --remove-empty:: Stop when a given path disappears from the tree. |