diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-10-02 12:55:30 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-10-02 07:53:51 -0700 |
| commit | 7f0969febf974f017b92e7152a17c98105583167 (patch) | |
| tree | 0895b55445927f523398528c8c152d2564652317 /contrib/persistent-https | |
| parent | reftable/basics: merge "publicbasics" into "basics" (diff) | |
| download | git-7f0969febf974f017b92e7152a17c98105583167.tar.gz git-7f0969febf974f017b92e7152a17c98105583167.zip | |
reftable: introduce `reftable_strdup()`
The reftable library provides the ability to swap out allocators. There
is a gap here though, because we continue to use `xstrdup()` even in the
case where all the other allocators have been swapped out.
Introduce `reftable_strdup()` that uses `reftable_malloc()` to do the
allocation.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
