commit | 2e1dfd62dca9aecb0ec1bdf3d1927a8da6d95723 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Tue May 05 21:00:34 2015 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Tue May 05 21:00:34 2015 -0700 |
tree | 6f556bbcfcb7fcecea0df2e1b116560a0f5569d7 | |
parent | 39a5d50d62780e2f838e5fa8196c06fba2baa956 [diff] | |
parent | 27547e5fccda134560ad0441aa5bfa187387cec0 [diff] |
Merge branch 'cn/bom-in-gitignore' Teach the codepaths that read .gitignore and .gitattributes files that these files encoded in UTF-8 may have UTF-8 BOM marker at the beginning; this makes it in line with what we do for configuration files already. * cn/bom-in-gitignore: attr: skip UTF8 BOM at the beginning of the input file config: use utf8_bom[] from utf.[ch] in git_parse_source() utf8-bom: introduce skip_utf8_bom() helper add_excludes_from_file: clarify the bom skipping logic dir: allow a BOM at the beginning of exclude files