Phil Nash | faafa24 | 2013-10-18 07:53:05 +0100 | [diff] [blame] | 1 | # This sets the default behaviour, overriding core.autocrlf |
| 2 | * text=auto |
| 3 | |
| 4 | # All source files should have unix line-endings in the repository, |
| 5 | # but convert to native line-endings on checkout |
| 6 | *.cpp text |
| 7 | *.h text |
| 8 | *.hpp text |
| 9 | |
| 10 | # Windows specific files should retain windows line-endings |
Martin Hořeňovský | f0f40a0 | 2018-01-18 12:35:40 +0100 | [diff] [blame] | 11 | *.sln text eol=crlf |
| 12 | |
Martin Hořeňovský | e13d9ca | 2018-02-09 16:49:35 +0100 | [diff] [blame] | 13 | # Keep executable scripts with LFs so they can be run after being |
| 14 | # checked out on Windows |
| 15 | *.py text eol=lf |
| 16 | |
| 17 | |
Martin Hořeňovský | f0f40a0 | 2018-01-18 12:35:40 +0100 | [diff] [blame] | 18 | # Keep the single include header with LFs to make sure it is uploaded, |
| 19 | # hashed etc with LF |
Martin Hořeňovský | b932847 | 2018-07-23 10:15:52 +0200 | [diff] [blame] | 20 | single_include/**/*.hpp eol=lf |
Martin Hořeňovský | 42213d4 | 2018-01-26 16:45:32 +0100 | [diff] [blame] | 21 | # Also keep the LICENCE file with LFs for the same reason |
| 22 | LICENCE.txt eol=lf |