blob: 9e88eb402e96accc33657923f0d8c3ec85c9fc66 [file] [log] [blame]
Phil Nashfaafa242013-10-18 07:53:05 +01001# 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ýf0f40a02018-01-18 12:35:40 +010011*.sln text eol=crlf
12
13# Keep the single include header with LFs to make sure it is uploaded,
14# hashed etc with LF
15single_include/*.hpp eol=lf
Martin Hořeňovský42213d42018-01-26 16:45:32 +010016# Also keep the LICENCE file with LFs for the same reason
17LICENCE.txt eol=lf