.gitattributes
raw| 1 | # do not rely on windows users to remember to set core.autocrlf=true |
| 2 | * text=auto |
| 3 | |
| 4 | # force line endings for scripts |
| 5 | *.sh eol=lf |
| 6 | *.sh.in eol=lf |
| 7 | *.py eol=lf |
| 8 | script/* eol=lf |
| 9 | *.bat eol=crlf |
| 10 | |
| 11 | # force lf endings for yaml |
| 12 | *.yaml eol=lf |
| 13 | *.yml eol=lf |
| 14 | .clang-format eol=lf |
| 15 | |
| 16 | # force encoding for json |
| 17 | *.json encoding=utf-8 |
| 18 | |
| 19 | # force lf endings for CMake files |
| 20 | CMakeLists.* eol=lf |
| 21 | *.cmake eol=lf |
| 22 | *.cmake.in eol=lf |