Commit c0b01b7572232bd6c0cd848e9b92ed8a8d678bcf

Edward Thomson 2013-08-19T18:46:26

Skip UTF-8 BOM in binary detection When a git_buf contains a UTF-8 BOM, the three bytes comprising that BOM are treated as unprintable characters. For a small git_buf, the three BOM characters overwhelm the printable characters. This is problematic when trying to check out a small file as the CR/LF filtering will not apply.