[PATCH 0/3] Add a pretty format to rewrapping/indenting commit messages
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 23, 2009, 20:34 UTC
- Message-ID
- <alpine.DEB.1.00.0909232232050.4985@pacific.mpi-cbg.de>
- In-Reply-To
- <1253655038-20335-1-git-send-email-heipei@hackvalue.de>
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(-)