aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
blob: d625a2442272375979af494006d72cf128efa0c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Set the default behavior, in case people don't have core.autocrlf set.
# Prevent build errors on non lf systems (like Windows), we need files with lf as newlines.
* text=auto eol=lf

# Explicitly declare text files you want to always be normalized and converted
# to lf line endings on checkout.
*.c text
*.cpp text
*.h text
*.hpp text

# Denote all files that are truly binary and should not be modified.
*.png binary
*.bin binary
*.jpg binary
*.jpeg binary

# Declare (Unix-style) files that will always have LF line endings on checkout.
*.sh text eol=lf