diff options
author | Elijah Newren <newren@gmail.com> | 2020-08-15 17:37:55 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-18 12:14:37 -0700 |
commit | a762c8c1e1e5b6352f027db80be4ca1c0077403d (patch) | |
tree | f2ce4542c00e8d27d94a0855edd0c0cc5eb5ae2d /alloc.h | |
parent | Eighth batch (diff) | |
download | tgif-a762c8c1e1e5b6352f027db80be4ca1c0077403d.tar.xz |
mem-pool: add convenience functions for strdup and strndup
fast-import had a special mem_pool_strdup() convenience function that I
want to be able to use from the new merge algorithm I am writing. Move
it from fast-import to mem-pool, and also add a mem_pool_strndup()
while at it that I also want to use.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alloc.h')
0 files changed, 0 insertions, 0 deletions