-
Notifications
You must be signed in to change notification settings - Fork 290
/
.gitattributes
46 lines (39 loc) · 1009 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
42
43
44
45
46
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.h text
*.cpp text
*.def text
*.cs text
*.py text
*.rb text
*.html text
*.ps1 text
# Explicitly declare files that should not have line endings modified, ever
Tests/file_with_BOM.txt -text
Tests/file_without_BOM.txt -text
# Declare files that will always have CRLF line endings on checkout.
*.bat text eol=crlf
*.sln text eol=crlf
*.csproj text eol=crlf
*.proj text eol=crlf
*.rtf text eol=crlf
*.rbproj text eol=crlf
*.vcxproj text eol=crlf
*.vdproj text eol=crlf
# Declare files that will always have LF line endings on checkout
.gitmodules text eol=lf
*.sh text eol=lf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.dll binary
*.pyd binary
*.exe binary
*.bmp binary
*.zip binary
*.pickle binary
# Do not normalize on commit.
*.pdf -text