]> git.ipfire.org Git - thirdparty/git.git/commit
grep/pcre2: factor out literal variable
authorRené Scharfe <l.s.r@web.de>
Sat, 18 Dec 2021 19:53:15 +0000 (20:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Dec 2021 20:46:39 +0000 (12:46 -0800)
commit32e3e8bc551e7b10bbda07110ae7cb15442d0392
treeb77583264fe3213e73f463f677c1c446e22cf727
parentdc2c44fbb100fa609174d9069a70e2b54b0591ca
grep/pcre2: factor out literal variable

Patterns that contain no wildcards and don't have to be case-folded are
literal.  Give this condition a name to increase the readability of the
boolean expression for enabling the option PCRE2_UTF.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c