I needed that a long time ago, so I implemented it and let it rut in my
personal tree.
Maybe somebody else wants to benefit from my work, too.
Johannes Schindelin (3):
print_wrapped_text(): allow hard newlines
Add strbuf_add_wrapped_text() to utf8.[ch]
Add "%w" to pretty formats, which rewraps the commit message
Documentation/pretty-formats.txt | 1 +
pretty.c | 27 ++++++++++++++++++++++
utf8.c | 45 ++++++++++++++++++++++++++++++-------
utf8.h | 2 +
4 files changed, 66 insertions(+), 9 deletions(-)