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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html