Thread (10 messages) 10 messages, 4 authors, 2019-07-24

Re: [PATCH] grep: skip UTF8 checks explicitally

From: Eric Sunshine <hidden>
Date: 2019-07-21 18:34:48

On Sun, Jul 21, 2019 at 2:31 PM Carlo Marcelo Arenas Belón
[off-list ref] wrote:
grep: skip UTF8 checks explicitally
s/explicitally/explicitly/
Usually PCRE is compiled with JIT support, and therefore the code
path used includes calling pcre2_jit_match (for PCRE2), that ignores
invalid UTF-8 in the corpus.

Make that option explicit so it can be also used when JIT is not
enabled and pcre2_match is called instead, preventing `git grep`
to abort when hitting the first binary blob in a fixed match
after ed0479ce3d ("Merge branch 'ab/no-kwset' into next", 2019-07-15)

Signed-off-by: Carlo Marcelo Arenas Belón <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help