diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-12-22 22:06:08 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-24 00:32:49 -0800 |
commit | 9e83266525aad5c6210b9a21be9b1c6996d5544f (patch) | |
tree | 8895723b2443360f01703d41eb9f813dbca0ac93 /builtin-shortlog.c | |
parent | Switch git_mmap to use pread. (diff) | |
download | tgif-9e83266525aad5c6210b9a21be9b1c6996d5544f.tar.xz |
commit-tree: encourage UTF-8 commit messages.
Introduce is_utf() to check if a text looks like it is encoded
in UTF-8, utf8_width() to count display width, and implements
print_wrapped_text() using them.
git-commit-tree warns if the commit message does not minimally
conform to the UTF-8 encoding when i18n.commitencoding is either
unset, or set to "utf-8".
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-shortlog.c')
0 files changed, 0 insertions, 0 deletions