diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-25 12:04:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-25 12:04:19 -0700 |
commit | fca9e0013eeaad45bff38f66667d2791a1edc53f (patch) | |
tree | b487bf942d747ec16185d361b9249eb5034b7ca4 /Documentation | |
parent | 4f64464023d0bf7ce065f1dccaf267ca38b3521f (diff) | |
parent | ec83061156e18ce600384d3c57f90729a9295488 (diff) | |
download | git-fca9e0013eeaad45bff38f66667d2791a1edc53f.tar.gz |
Merge branch 'rs/maint-grep-F'
"git grep -e '$pattern'", unlike the case where the patterns are read from
a file, did not treat individual lines in the given pattern argument as
separate regular expressions as it should.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-grep.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 4785f1c5c6..3bec036883 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -31,7 +31,9 @@ SYNOPSIS DESCRIPTION ----------- Look for specified patterns in the tracked files in the work tree, blobs -registered in the index file, or blobs in given tree objects. +registered in the index file, or blobs in given tree objects. Patterns +are lists of one or more search expressions separated by newline +characters. An empty string as search expression matches all lines. CONFIGURATION |