aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
blob: 97386d9f8de68d48a1e9e6b2b906a442bbc57561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# See https://git-scm.com/docs/gitattributes
# See https://help.github.com/articles/dealing-with-line-endings/

# Default behavior, if core.autocrlf is unset.
* text=auto

# Files to be converted to native line endings on checkout.
*.cpp text
*.h text

# Text files to always have CRLF (dos) line endings on checkout.
*.bat text eol=crlf

# Text files to always have LF (unix) line endings on checkout.
*.sh text eol=lf
*.zig text eol=lf