summaryrefslogtreecommitdiff
path: root/http-fetch.c
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2010-02-19 22:15:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-02-20 17:19:06 (GMT)
commit3c0ff44a1ee92bd0f811b95d747a08763983566b (patch)
tree28b09ae0d72c4d8a6f601ace3831f6ddf260e074 /http-fetch.c
parentbb96a2c9005f925b4e80ece0a7cd6230f7f4b43d (diff)
downloadgit-3c0ff44a1ee92bd0f811b95d747a08763983566b.zip
git-3c0ff44a1ee92bd0f811b95d747a08763983566b.tar.gz
git-3c0ff44a1ee92bd0f811b95d747a08763983566b.tar.bz2
utf8.c: remove print_spaces()
The previous patch made sure that strbuf_add_wrapped_text() (and thus strbuf_add_indented_text(), too) always get a strbuf. Make use of this fact by adding strbuf_addchars(), a small helper that adds a char the specified number of times to a strbuf, and use it to replace print_spaces(). Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-fetch.c')
0 files changed, 0 insertions, 0 deletions