diff options
author | René Scharfe <l.s.r@web.de> | 2015-03-07 11:50:29 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-09 18:17:18 -0700 |
commit | 7a646cec5bbcebad31a6e99f0279782b322ecd36 (patch) | |
tree | 6fda731d4710538b2d5090a80a61d6eb37aa3fa8 /t/t3511-cherry-pick-x.sh | |
parent | Merge branch 'jk/daemon-interpolate' (diff) | |
download | tgif-7a646cec5bbcebad31a6e99f0279782b322ecd36.tar.xz |
daemon: use strbuf for hostname info
Convert hostname, canon_hostname, ip_address and tcp_port to strbuf.
This allows to get rid of the helpers strbuf_addstr_or_null() and STRARG
because a strbuf always represents a valid (initially empty) string.
sanitize_client() is not needed anymore and sanitize_client_strbuf()
takes its place and name.
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3511-cherry-pick-x.sh')
0 files changed, 0 insertions, 0 deletions