[PATCH v2 00/12] Layout control placeholders for pretty format
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Mar 30, 2013, 09:35 UTC
- Message-ID
- <1364636112-15065-1-git-send-email-pclouds@gmail.com>
- In-Reply-To
- <1363400683-14813-1-git-send-email-pclouds@gmail.com>
The only difference in v2 is typo fixes (mostly in commit messages, but some in pretty-formats.txt). Also resend as a reminder to Junio if he forgot to pick it up.
Nguyễn Thái Ngọc Duy (12):
pretty-formats.txt: wrap long lines
pretty: share code between format_decoration and show_decorations
utf8.c: move display_mode_esc_sequence_len() for use by other
functions
utf8.c: add utf8_strnwidth() with the ability to skip ansi sequences
pretty: save commit encoding from logmsg_reencode if the caller needs
it
pretty: get the correct encoding for --pretty:format=%e
utf8: keep NULs in reencode_string()
pretty: two phase conversion for non utf-8 commits
pretty: add %C(auto) for auto-coloring on the next placeholder
pretty: support padding placeholders, %< %> and %><
pretty: support truncating in %>, %< and %><
pretty: support %>> that steal trailing spacesDocumentation/pretty-formats.txt | 34 ++++- builtin/blame.c | 2 +- builtin/commit.c | 2 +- builtin/fast-export.c | 3 +- builtin/mailinfo.c | 3 +- commit.h | 1 + compat/precompose_utf8.c | 2 +- log-tree.c | 60 +++++---- log-tree.h | 3 + notes.c | 4 +- pretty.c | 282 ++++++++++++++++++++++++++++++++++----- revision.c | 2 +- sequencer.c | 5 +- t/t4207-log-decoration-colors.sh | 8 +- t/t6006-rev-list-format.sh | 12 +- utf8.c | 104 +++++++++++---- utf8.h | 14 +- 17 files changed, 434 insertions(+), 107 deletions(-)
-- 1.8.2.83.gc99314b