Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information