summaryrefslogtreecommitdiff
path: root/t/t9151/svn-mergeinfo.dump
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2021-07-30 11:47:38 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-30 09:01:18 -0700
commitcdf2241c717b05845ff9e25b87be6ca7559e82eb (patch)
tree21ecd672592db9cd230f74926370201e0c637efb /t/t9151/svn-mergeinfo.dump
parentdiffcore-rename: use a mem_pool for exact rename detection's hashmap (diff)
downloadtgif-cdf2241c717b05845ff9e25b87be6ca7559e82eb.tar.xz
merge-ort: add pool_alloc, pool_calloc, and pool_strndup wrappers
Make the code more flexible so that it can handle both being run with or without a memory pool by adding utility functions which will either call xmalloc, xcalloc, xstrndup or mem_pool_alloc, mem_pool_calloc, mem_pool_strndup depending on whether we have a non-NULL memory pool. A subsequent commit will make use of these. (We will actually be dropping these functions soon and just assuming we always have a memory pool, but the flexibility was very useful during development of merge-ort so I want to be able to restore it if needed.) Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9151/svn-mergeinfo.dump')
0 files changed, 0 insertions, 0 deletions