summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-02-18 01:07:24 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-17 16:32:19 -0800
commit797c359978eb13ddff10974a6c6469e33695606c (patch)
treeab1ad9e9fae9e7a24acd9f4e12d7e26315c65019 /Documentation
parentgrep/pcre2: add GREP_PCRE2_DEBUG_MALLOC debug mode (diff)
downloadtgif-797c359978eb13ddff10974a6c6469e33695606c.tar.xz
grep/pcre2: use compile-time PCREv2 version test
Replace a use of pcre2_config(PCRE2_CONFIG_VERSION, ...) which I added in 95ca1f987ed (grep/pcre2: better support invalid UTF-8 haystacks, 2021-01-24) with the same test done at compile-time. It might be cuter to do this at runtime since we don't have to do the "major >= 11 || (major >= 10 && ...)" test. But in the next commit we'll add another version comparison that absolutely needs to be done at compile-time, so we're better of being consistent across the board. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions