mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-26 01:33:44 +01:00
Tests ~ (fix) always check out test fixtures with known LF line endings
- fixes windows test failures - avoids `git` platform-dependent conversion of line endings for checkout of test fixtures (*tests/examples/...*)
This commit is contained in:
parent
01af28b781
commit
0ef792ac1e
8
tests/.gitattributes
vendored
8
tests/.gitattributes
vendored
@ -1,3 +1,11 @@
|
||||
# force LF EOLs for test fixtures
|
||||
examples/** text=auto eol=lf
|
||||
snapshots/** text=auto eol=lf
|
||||
|
||||
# BAT/CMD files always need CRLF EOLs
|
||||
*.[Bb][Aa][Tt] text eol=crlf
|
||||
*.[Cc][Mm][Dd] text eol=crlf
|
||||
|
||||
examples/* linguist-vendored
|
||||
snapshots/* linguist-vendored
|
||||
benchmarks/* linguist-vendored
|
||||
|
Loading…
Reference in New Issue
Block a user