author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Fri, 19 Feb 2010 22:15:01 +0000 (23:15 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 20 Feb 2010 17:18:04 +0000 (09:18 -0800) | ||
commit | bb96a2c9005f925b4e80ece0a7cd6230f7f4b43d | |
tree | 3a791dbe319728269666ac3f927c420d59f46334 | tree | snapshot |
parent | 8a3c63e01d2b1df471beafff5fb78df4bade9388 | commit | diff |
utf8.c: remove print_wrapped_text()
strbuf_add_wrapped_text() is called only from print_wrapped_text()
without a strbuf (in which case it writes its results to stdout).
At its only callsite, supply a strbuf, call strbuf_add_wrapped_text()
directly and remove the wrapper function.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
strbuf_add_wrapped_text() is called only from print_wrapped_text()
without a strbuf (in which case it writes its results to stdout).
At its only callsite, supply a strbuf, call strbuf_add_wrapped_text()
directly and remove the wrapper function.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-shortlog.c | diff | blob | history | |
utf8.c | diff | blob | history | |
utf8.h | diff | blob | history |