summaryrefslogtreecommitdiff
path: root/.gitattributes
blob: 723f4827782edb61a995b8332647ea17fee78d43 (plain)
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
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

*.c text
*.cpp text
*.h text
*.icf text
*.js text
*.json text
*.ld text
*.md text
*.mk text
*.py text
*.rst text
*.s text
*.txt text
*.xml text
*.yml text

Makefile text

# Shell scripts must stay LF even when core.autocrlf=true (CRLF breaks bash)
*.sh text eol=lf

# Windows-only Visual Studio things

*.sln        text eol=crlf
*.csproj     text eol=crlf