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 | |
| 13 | # Keep the single include header with LFs to make sure it is uploaded, |
| 14 | # hashed etc with LF |
| 15 | single_include/*.hpp eol=lf |
Martin Hořeňovský | 42213d4 | 2018-01-26 16:45:32 +0100 | [diff] [blame] | 16 | # Also keep the LICENCE file with LFs for the same reason |
| 17 | LICENCE.txt eol=lf |