[PATCH v2 0/4] UTF8 BOM follow-up
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 16, 2015, 18:39 UTC
- Message-ID
- <1429209548-32297-1-git-send-email-gitster@pobox.com>
- In-Reply-To
- <xmqqoamohu2m.fsf@gitster.dls.corp.google.com>
This is on top of the ".gitignore can start with UTF8 BOM" patch from Carlos.
Second try; the first patch is new to clarify the logic in the codeflow after Carlos's patch, and the second one has been adjusted accordingly.
Junio C Hamano (4): add_excludes_from_file: clarify the bom skipping logic utf8-bom: introduce skip_utf8_bom() helper config: use utf8_bom[] from utf.[ch] in git_parse_source() attr: skip UTF8 BOM at the beginning of the input file
attr.c | 9 +++++++-- config.c | 6 +++--- dir.c | 10 +++++----- utf8.c | 11 +++++++++++ utf8.h | 3 +++ 5 files changed, 29 insertions(+), 10 deletions(-)
-- 2.4.0-rc2-171-g98ddf7f