Pretty print truncate does not work
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | t4205 (log-pretty-formats): Add failing tests for the case when i18n.logOutputEncoding is sett/ | +169 | 0 replies | |
| 2/2 | pretty.c: format string with truncate respects logOutputEncodingpretty.c t/ | +9 | 22 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Nguyễn Thái Ngọc Duy | Ramsay Jones |
|---|---|---|
| 1/2 | ||
| 2/2 | R-b R-b R-b R-b R-b R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Pretty print truncate does not work
Pretty format string %<(N,[ml]trunc)>%s truncates subject to a given length with an appropriate padding. This works for non-ASCII texts when i18n.logOutputEncoding is UTF-8 only (independently of a printed commit message encoding) but does not work when i18n.logOutputEncoding is NOT UTF-8.
Following patches are:
1. failing tests
2. Fix patch
Alexey Shumkin (2):
t4205 (log-pretty-formats): Add failing tests for the case when
i18n.logOutputEncoding is set
pretty.c: format string with truncate respects logOutputEncoding
pretty.c | 7 +- t/t4205-log-pretty-formats.sh | 169 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 174 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.2-15