]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ab/grep-pcre2-allocfix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Mar 2021 21:00:23 +0000 (14:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Mar 2021 21:00:23 +0000 (14:00 -0700)
Updates to memory allocation code around the use of pcre2 library.

* ab/grep-pcre2-allocfix:
  grep/pcre2: move definitions of pcre2_{malloc,free}
  grep/pcre2: move back to thread-only PCREv2 structures
  grep/pcre2: actually make pcre2 use custom allocator
  grep/pcre2: use pcre2_maketables_free() function
  grep/pcre2: use compile-time PCREv2 version test
  grep/pcre2: add GREP_PCRE2_DEBUG_MALLOC debug mode
  grep/pcre2: prepare to add debugging to pcre2_malloc()
  grep/pcre2: correct reference to grep_init() in comment
  grep/pcre2: drop needless assignment to NULL
  grep/pcre2: drop needless assignment + assert() on opt->pcre2

1  2 
builtin/grep.c
grep.c

diff --cc builtin/grep.c
Simple merge
diff --cc grep.c
Simple merge