summaryrefslogtreecommitdiff
path: root/t/t0110/url-8
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-02-22 17:45:05 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-22 14:51:09 -0800
commit21f9d0f6f2ef54185359d2d1c180770f85127199 (patch)
treeb9054a5dca7d951babc8a707b73c8ce2bb0fe293 /t/t0110/url-8
parentgit-compat-util: drop mempcpy compat code (diff)
downloadtgif-21f9d0f6f2ef54185359d2d1c180770f85127199.tar.xz
transport_anonymize_url: use xstrfmt
This function uses xcalloc and two memcpy calls to concatenate two strings. We can do this as an xstrfmt one-liner, and then it is more clear that we are allocating the correct amount of memory. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0110/url-8')
0 files changed, 0 insertions, 0 deletions