forked from catchorg/Catch2
Git Attributes, with control for line-endings
This commit is contained in:
11
.gitattributes
vendored
Normal file
11
.gitattributes
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# This sets the default behaviour, overriding core.autocrlf
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# All source files should have unix line-endings in the repository,
|
||||||
|
# but convert to native line-endings on checkout
|
||||||
|
*.cpp text
|
||||||
|
*.h text
|
||||||
|
*.hpp text
|
||||||
|
|
||||||
|
# Windows specific files should retain windows line-endings
|
||||||
|
*.sln text eol=crlf
|
Reference in New Issue
Block a user