-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitattributes
41 lines (36 loc) · 936 Bytes
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This sets the default behaviour, overriding core.autocrlf
* text=auto eol=lf
# All source files should have unix line-endings in the repository,
# but convert to native line-endings on checkout
*.c text
*.cc text
*.cpp text
*.h text
*.hh text
*.hpp text
*.js text
*.mjs text
*.cjs text
*.ts text
*.d.ts text
*.rst text
*.md text
*.json text
*.txt text
# Windows specific files should retain windows line-endings
*.{sln,[sS][lL][nN]} text eol=crlf
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
# Keep executable scripts with LFs so they can be run after being
# checked out on Windows
*.py text eol=lf
test/*.js text eol=lf
CMakeLists.txt text eol=lf
# Keep the include header(s) with LFs to make sure it is uploaded,
# hashed etc with LF
include/**/*.h eol=lf
include/**/*.hh eol=lf
include/**/*.hpp eol=lf
# Keep the LICENCE file with LFs to make sure it is uploaded,
# hashed etc with LF
LICENCE eol=lf