summaryrefslogtreecommitdiff
path: root/t/perf/p5600-partial-clone.sh
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2021-07-30 11:47:41 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-30 09:01:19 -0700
commita8791ef6492bf702ba70352009cbd28fb581c6e2 (patch)
tree069fb2c73de4a9df8c8f0b973169e60f151ccab3 /t/perf/p5600-partial-clone.sh
parentmerge-ort: switch our strmaps over to using memory pools (diff)
downloadtgif-a8791ef6492bf702ba70352009cbd28fb581c6e2.tar.xz
diffcore-rename, merge-ort: add wrapper functions for filepair alloc/dealloc
We want to be able to allocate filespecs and filepairs using a mem_pool. However, filespec data will still remain outside the pool (perhaps in the future we could plumb the pool through the various diff APIs to allocate the filespec data too, but for now we are limiting the scope). Add some extra functions to allocate these appropriately based on the non-NULL-ness of opt->priv->pool, as well as some extra functions to handle correctly deallocating the relevant parts of them. A future commit will make use of these new functions. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/p5600-partial-clone.sh')
0 files changed, 0 insertions, 0 deletions