aboutsummaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2010-02-19 23:15:55 +0100
committerJunio C Hamano <gitster@pobox.com>2010-02-20 09:19:06 -0800
commit3c0ff44a1ee92bd0f811b95d747a08763983566b (patch)
tree28b09ae0d72c4d8a6f601ace3831f6ddf260e074 /dir.h
parentbb96a2c9005f925b4e80ece0a7cd6230f7f4b43d (diff)
downloadgit-3c0ff44a1ee92bd0f811b95d747a08763983566b.tar.gz
git-3c0ff44a1ee92bd0f811b95d747a08763983566b.tar.xz
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 'dir.h')
0 files changed, 0 insertions, 0 deletions