diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2010-02-19 23:15:55 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-20 09:19:06 -0800 |
commit | 3c0ff44a1ee92bd0f811b95d747a08763983566b (patch) | |
tree | 28b09ae0d72c4d8a6f601ace3831f6ddf260e074 /t/t1000-read-tree-m-3way.sh | |
parent | utf8.c: remove print_wrapped_text() (diff) | |
download | tgif-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 't/t1000-read-tree-m-3way.sh')
0 files changed, 0 insertions, 0 deletions