summaryrefslogtreecommitdiff
path: root/tests-clar/diff/submodules.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2013-08-19 18:46:26 -0500
committerEdward Thomson <ethomson@microsoft.com>2013-08-19 18:46:26 -0500
commitc0b01b7572232bd6c0cd848e9b92ed8a8d678bcf (patch)
tree8e553e46bd1608bf596faa629437a5cf371a0c40 /tests-clar/diff/submodules.c
parent5e1fb2828a496d70c5c200b01e2fb0062268f468 (diff)
downloadlibgit2-c0b01b7572232bd6c0cd848e9b92ed8a8d678bcf.tar.gz
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.
Diffstat (limited to 'tests-clar/diff/submodules.c')
0 files changed, 0 insertions, 0 deletions