[PATCH v5 0/7] convert: add support for different encodings
- From
tboegi@web.de <tboegi@web.de>
- Date
- Jan 29, 2018, 20:18 UTC
- Message-ID
- <20180129201855.9182-1-tboegi@web.de>
- In-Reply-To
- <xmqqshawfgaa.fsf@gitster.mtv.corp.google.com>
From: Torsten Bögershausen <tboegi@web.de>
Take V4 from Lars, manually integrated the V2 squash patch, so a review would be good.
Add my "comments" as a patch, see 7/7 (and this is more like an RFC)
This needs to go on top of tb/crlf-conv-flags
Lars Schneider (6): strbuf: remove unnecessary NUL assignment in xstrdup_tolower() strbuf: add xstrdup_toupper() utf8: add function to detect prohibited UTF-16/32 BOM utf8: add function to detect a missing UTF-16/32 BOM convert: add 'working-tree-encoding' attribute convert: add tracing for 'working-tree-encoding' attribute
Torsten Bögershausen (1): Careful with CRLF when using e.g. UTF-16 for working-tree-encoding
Documentation/gitattributes.txt | 63 +++++++++++ convert.c | 233 ++++++++++++++++++++++++++++++++++++++- convert.h | 1 + sha1_file.c | 2 +- strbuf.c | 13 ++- strbuf.h | 1 + t/t0028-working-tree-encoding.sh | 198 +++++++++++++++++++++++++++++++++ utf8.c | 37 +++++++ utf8.h | 25 +++++ 9 files changed, 567 insertions(+), 6 deletions(-) create mode 100755 t/t0028-working-tree-encoding.sh
-- 2.16.0.rc0.2.g64d3e4d0cc.dirty