Subject: Re: [PATCH 2/2] grep/pcre2: factor out literal variable

From: Junio C Hamano <[email-masked]>
Date: Mon, 20 Dec 2021 12:53:17 -0800

Ævar Arnfjörð Bjarmason <[email-masked]> writes:

> Aside: Not needed for this change, but I wonder if we could benefit minutely
> from:
>
>     #ifdef PCRE2_LITERAL
>     options |= PCRE2_LITERAL;
>     #endif
>
> It'll save PCRE2 the small effort of finding that we've got no metacharacters.

After the dust settles, it would be a good addition in a separate
patch.

Thanks.