summaryrefslogtreecommitdiff
path: root/builtin/rev-list.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-09-03 17:59:15 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-07 10:41:45 -0700
commitca2baa3f7532dfe1816b623f39489ed10f3c9a49 (patch)
tree4422885a6aa8511f04adedfbedc71c8599ad932e /builtin/rev-list.c
parentGit 2.9.3 (diff)
downloadtgif-ca2baa3f7532dfe1816b623f39489ed10f3c9a49.tar.xz
compat: move strdup(3) replacement to its own file
Move our implementation of strdup(3) out of compat/nedmalloc/ and allow it to be used independently from USE_NED_ALLOCATOR. The original nedmalloc doesn't come with strdup() and doesn't need it. Only _users_ of nedmalloc need it, which was added when we imported it to our compat/ hierarchy. This reduces the difference of our copy of nedmalloc from the original, making it easier to update, and allows for easier testing and reusing of our version of strdup(). Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/rev-list.c')
0 files changed, 0 insertions, 0 deletions