-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
.gitattributes
98 lines (92 loc) · 2.06 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings
# https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes
# https://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/#the-new-system
#
# Man page: http://schacon.github.io/git/gitattributes.html
#
# Automatic end-of-line normalization by default for all files.
# If git decides that the content is text, its line endings are normalized to LF on checkin.
# This should make the EOL behavior independent of local git config settings.
* text=auto
# Tell git which extensions are text. Auto detection is not always reliable.
*.bat text
*.c text diff=cpp
*.cc text diff=cpp
*.classpath text
*.cmd text eol=crlf
*.config text eol=lf
*.cpp text diff=cpp
*.css text diff=css
*.dsp text
*.dsw text
*.dtd text
*.el text
*.filters text
*.h text diff=cpp
*.htm text diff=html
*.html text diff=html
*.in text
*.java text diff=java
*.jsp text diff=java
*.launch text
*.m4 text
*.mak text
*.md text
*.MF text
*.mk text
*.pl text diff=perl
*.pm text diff=perl
*.project text
*.properties text
*.props text
*.py text diff=python
*.rc text
*.sh text eol=lf
*.sed text eol=lf
*.sln text
*.stub text
*.svg text
*.targets text
*.txt text diff
*.ucm text
*.vcproj text
*.vcxproj text
*.xml text
*.xsl text
*.xslt text
AUTHORS text
BUILD text
COPYING text
Changelog text
LICENSE text
Makefile text
README text
SConscript text
SConstruct text
configure text
# Explicitly set the following file types as binary files.
# Same as -text -diff (no EOL conversion, no attempt at diffing).
*.bin binary
*.brk binary
*.cnv binary
*.icu binary
*.res binary
*.nrm binary
*.pdf binary
*.spp binary
*.tri2 binary
*.otf binary
*.utf16be binary
# ICU puts the following binary file types into Git-LFS,
# but Unicode Tools just stores binaries in git itself.
# (Let's not add more than necessary.)
*.jar binary
*.dat binary
*.zip binary
*.gz binary
*.bz2 binary
*.gif binary
# Enable syntax highlighting on GitHub.com
.cpyskip.txt linguist-language=Ignore-List
# Use JSONC for syntax highlighting on GitHub.com
*.json linguist-language=jsonc