diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-10-11 16:28:25 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-11 16:28:25 +0900 |
commit | 6c6b0e5a189ca5f922b8d1535d0795a34176a1a1 (patch) | |
tree | d1796d66e7153f2ccf6b022e8fbaa5c647539a46 /git-grep.html | |
parent | 48cd3f1251acf31e83d2e59ddf2176aa8e84290c (diff) | |
download | git-htmldocs-6c6b0e5a189ca5f922b8d1535d0795a34176a1a1.tar.gz |
Autogenerated HTML docs for v2.23.0-606-g08da
Diffstat (limited to 'git-grep.html')
-rw-r--r-- | git-grep.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/git-grep.html b/git-grep.html index d522f5be5..0478c4e83 100644 --- a/git-grep.html +++ b/git-grep.html @@ -1301,6 +1301,19 @@ providing this option will cause it to die.</p></div> <p>
Read patterns from <file>, one per line.
</p>
+<div class="paragraph"><p>Passing the pattern via <file> allows for providing a search pattern
+containing a \0.</p></div>
+<div class="paragraph"><p>Not all pattern types support patterns containing \0. Git will error
+out if a given pattern type can’t support such a pattern. The
+<code>--perl-regexp</code> pattern type when compiled against the PCRE v2 backend
+has the widest support for these types of patterns.</p></div>
+<div class="paragraph"><p>In versions of Git before 2.23.0 patterns containing \0 would be
+silently considered fixed. This was never documented, there were also
+odd and undocumented interactions between e.g. non-ASCII patterns
+containing \0 and <code>--ignore-case</code>.</p></div>
+<div class="paragraph"><p>In future versions we may learn to support patterns containing \0 for
+more search backends, until then we’ll die when the pattern type in
+question doesn’t support them.</p></div>
</dd>
<dt class="hdlist1">
-e
@@ -1440,7 +1453,7 @@ in <a href="gitglossary.html">gitglossary(7)</a>.</p></div> <div id="footer">
<div id="footer-text">
Last updated
- 2019-04-16 21:48:13 JST
+ 2019-10-11 16:25:30 JST
</div>
</div>
</body>
|