-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitattributes
313 lines (280 loc) · 15.1 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
# encoding: UTF-8
# | section | title | description |
# | ------- | ------------------- | --------------------------------------------------------------------------- |
# | 0x0 | web development | front-end |
# | 0x1 | git provided filters | section contains programming languages that git has default filter types for |
# | 0x2 | read as text | TODO: document after checking on impact of file encoding for this category |
# | 0x3 | read as binary | do not read as text |
# | 0x4 | read as image | |
# | 0x5 | linguist statistics | mark certain extensions to be included in linguist statistics |
# 0x0) -----------------------------------------------------------------------------------------------------------------
# __ __ ___ __
# /\ \ /\ \ /\_ \ /\ \__
# __ __ __ __\ \ \____ \_\ \ __ __ __ __\//\ \ ___ _____ ___ ___ __ ___\ \ ,_\
# /\ \/\ \/\ \ /'__`\ \ '__`\ /'_` \ /'__`\/\ \/\ \ /'__`\\ \ \ / __`\/\ '__`\ /' __` __`\ /'__`\/' _ `\ \ \/
# \ \ \_/ \_/ \/\ __/\ \ \L\ \ /\ \L\ \/\ __/\ \ \_/ |/\ __/ \_\ \_/\ \L\ \ \ \L\ \/\ \/\ \/\ \/\ __//\ \/\ \ \ \_
# \ \___x___/'\ \____\\ \_,__/ \ \___,_\ \____\\ \___/ \ \____\/\____\ \____/\ \ ,__/\ \_\ \_\ \_\ \____\ \_\ \_\ \__\
# \/__//__/ \/____/ \/___/ \/__,_ /\/____/ \/__/ \/____/\/____/\/___/ \ \ \/ \/_/\/_/\/_/\/____/\/_/\/_/\/__/
# \ \_\
# \/_/
#
# | web specs | https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers |
# ----------------------------------------------------------------------------------------------------------------------
*.html diff=html text=html eol=lf whitespace=blank-at-eof,blank-at-eol
*.css diff=css text=css eol=lf whitespace=blank-at-eof,blank-at-eol
*.md diff=markdown text=markdown eol=lf whitespace=blank-at-eof,blank-at-eol
*.webmanifest diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.json diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.js diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
# shaders (being read as text)
*.tesc diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.tese diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.geom diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.frag diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.vert diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.comp diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.glsl diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
# 0x1) -----------------------------------------------------------------------------------------------------------------
# __ __ __ ___ ___ __
# __/\ \__ __ /\ \ /\ \ /'___\ __ /\_ \ /\ \__
# __ /\_\ \ ,_\ _____ _ __ ___ __ __ /\_\ \_\ \ __ \_\ \ /\ \__//\_\\//\ \ \ \ ,_\ __ _ __ ____
# /'_ `\/\ \ \ \/ /\ '__`\/\`'__\/ __`\/\ \/\ \\/\ \ /'_` \ /'__`\ /'_` \ \ \ ,__\/\ \ \ \ \ \ \ \/ /'__`\/\`'__\/',__\
# /\ \L\ \ \ \ \ \_ \ \ \L\ \ \ \//\ \L\ \ \ \_/ |\ \ \/\ \L\ \/\ __//\ \L\ \ \ \ \_/\ \ \ \_\ \_\ \ \_/\ __/\ \ \//\__, `\
# \ \____ \ \_\ \__\ \ \ ,__/\ \_\\ \____/\ \___/ \ \_\ \___,_\ \____\ \___,_\ \ \_\ \ \_\/\____\\ \__\ \____\\ \_\\/\____/
# \/___L\ \/_/\/__/ \ \ \/ \/_/ \/___/ \/__/ \/_/\/__,_ /\/____/\/__,_ / \/_/ \/_/\/____/ \/__/\/____/ \/_/ \/___/
# /\____/ \ \_\
# \_/__/ \/_/
#
# | git config info | https://opensource.apple.com/source/Git/Git-19/src/git-htmldocs/gitattributes.txt.auto.html |
# | git config | https://stackoverflow.com/questions/9976986/force-lf-eol-in-git-repo-and-working-copy |
# | pascal file types | https://github.com/github/linguist/issues/3666 |
# ----------------------------------------------------------------------------------------------------------------------
# C
*.h diff=cpp text=cpp eol=lf whitespace=blank-at-eof,blank-at-eol
*.c diff=cpp text=cpp eol=lf whitespace=blank-at-eof,blank-at-eol
# Objective-C
*.m diff=objc text=objc eol=lf whitespace=blank-at-eof,blank-at-eol
# Perl
*.pl diff=perl text=perl eol=lf whitespace=blank-at-eof,blank-at-eol
# Pascal
*.pas diff=pascal text=pascal eol=lf whitespace=blank-at-eof,blank-at-eol
*.pp diff=pascal text=pascal eol=lf whitespace=blank-at-eof,blank-at-eol
# Fortran
*.f90 diff=fortran text=fortran eol=lf whitespace=blank-at-eof,blank-at-eol
*.f95 diff=fortran text=fortran eol=lf whitespace=blank-at-eof,blank-at-eol
*.f03 diff=fortran text=fortran eol=lf whitespace=blank-at-eof,blank-at-eol
*.f diff=fortran text=fortran eol=lf whitespace=blank-at-eof,blank-at-eol
*.for diff=fortran text=fortran eol=lf whitespace=blank-at-eof,blank-at-eol
# Ruby
*.rb diff=ruby text=ruby eol=lf whitespace=blank-at-eof,blank-at-eol
*.gemspec diff=ruby text=ruby eol=lf whitespace=blank-at-eof,blank-at-eol
# Java
*.java diff=java text=java eol=lf whitespace=blank-at-eof,blank-at-eol
# Python
*.py diff=python text=python eol=lf whitespace=blank-at-eof,blank-at-eol
# PHP
*.php diff=php text=php eol=lf whitespace=blank-at-eof,blank-at-eol
# 0x2) -----------------------------------------------------------------------------------------------------------------
# __ __ __
# /\ \ /\ \__ /\ \__
# _ __ __ __ \_\ \ __ ____ \ \ ,_\ __ __ _\ \ ,_\
# /\`'__\/'__`\ /'__`\ /'_` \ /'__`\ /',__\ \ \ \/ /'__`\/\ \/'\\ \ \/
# \ \ \//\ __//\ \L\.\_/\ \L\ \ /\ \L\.\_/\__, `\ \ \ \_/\ __/\/> </ \ \ \_
# \ \_\\ \____\ \__/.\_\ \___,_\ \ \__/.\_\/\____/ \ \__\ \____\/\_/\_\ \ \__\
# \/_/ \/____/\/__/\/_/\/__,_ / \/__/\/_/\/___/ \/__/\/____/\//\/_/ \/__/
# ----------------------------------------------------------------------------------------------------------------------
*.txt diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.text diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.ruby-version diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.log diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.csv diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.yml diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.yaml diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.nginx diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.sh diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.zsh diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.sql diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.scpt diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.cjs diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
*.mjs diff=text text=text eol=lf whitespace=blank-at-eof,blank-at-eol
# 0x3) -----------------------------------------------------------------------------------------------------------------
# __ __
# /\ \ /\ \ __
# _ __ __ __ \_\ \ __ ____ \ \ \____/\_\ ___ __ _ __ __ __
# /\`'__\/'__`\ /'__`\ /'_` \ /'__`\ /',__\ \ \ '__`\/\ \ /' _ `\ /'__`\ /\`'__\/\ \/\ \
# \ \ \//\ __//\ \L\.\_/\ \L\ \ /\ \L\.\_/\__, `\ \ \ \L\ \ \ \/\ \/\ \/\ \L\.\_\ \ \/ \ \ \_\ \
# \ \_\\ \____\ \__/.\_\ \___,_\ \ \__/.\_\/\____/ \ \_,__/\ \_\ \_\ \_\ \__/.\_\\ \_\ \/`____ \
# \/_/ \/____/\/__/\/_/\/__,_ / \/__/\/_/\/___/ \/___/ \/_/\/_/\/_/\/__/\/_/ \/_/ `/___/> \
# /\___/
# \/__/
#
# | format | @see |
# | --------------------- | ---------------------------------------------------------------------------------------- |
# | microsoft office suite | https://en.wikipedia.org/wiki/List_of_Microsoft_Office_filename_extensions |
# | images | https://blog.filestack.com/thoughts-and-knowledge/complete-image-file-extension-list/#indd |
# | audio | https://docstore.mik.ua/orelly/web2/wdesign/ch24_05.htm |
# | archiving | https://en.wikipedia.org/wiki/List_of_archive_formats |
# ----------------------------------------------------------------------------------------------------------------------
# audio formats
*.wav -text -diff
*.aif -text -diff
*.aiff -text -diff
*.mp3 -text -diff
*.mov -text -diff
*.mid -text -diff
*.rm -text -diff
*.ra -text -diff
*.wma -text -diff
*.asf -text -diff
*.swf -text -diff
*.dcr -text -diff
*.rmf -text -diff
# compiling/build artifacts
*.o -text -diff
*.so -text -diff
*.bundle -text -diff
*.name -text -diff
*.deb -text -diff
*.pkg -text -diff
*.mpkg -text -diff
*.rpm -text -diff
*.msi -text -diff
*.jar -text -diff
*.crx -text -diff
*.tgz -text -diff
# compression/archiving formats
# ---------------------
*.tar -text -diff
*.gz -text -diff
*.bz2 -text -diff
*.xz -text -diff
*.zip -text -diff
# ---------------------
*.lz -text -diff
*.lz4 -text -diff
*.lzh -text -diff
*.lzma -text -diff
*.lzo -text -diff
*.rz -text -diff
*.sfark -text -diff
*.sz -text -diff
*.z -text -diff
*.zst -text -diff
*.a -text -diff
*.ar -text -diff
*.cpio -text -diff
*.shar -text -diff
*.LBR -text -diff
*.iso -text -diff
*.lbr -text -diff
*.mar -text -diff
*.sbx -text -diff
*.tar -text -diff
*.zipx -text -diff
*.xp3 -text -diff
*.xar -text -diff
*.wim -text -diff
*.war -text -diff
*.sqx -text -diff
*.rar -text -diff
*.dmg -text -diff
*.dar -text -diff
*.apk -text -diff
*.afa -text -diff
*.arc -text -diff
# important misc formats
*.pdf -text -diff
*.bib -text -diff
*.tex -text -diff
# office suite formats
*.doc -text -diff
*.dot -text -diff
*.wbk -text -diff
*.docx -text -diff
*.docm -text -diff
*.dotx -text -diff
*.dotm -text -diff
*.docb -text -diff
*.xls -text -diff
*.xlt -text -diff
*.xlm -text -diff
*.xlsx -text -diff
*.xlsm -text -diff
*.xltx -text -diff
*.xltm -text -diff
*.xlsb -text -diff
*.xla -text -diff
*.xlam -text -diff
*.xll -text -diff
*.xlw -text -diff
*.ppt -text -diff
*.pot -text -diff
*.pps -text -diff
*.pptx -text -diff
*.pptm -text -diff
*.potx -text -diff
*.potm -text -diff
*.ppam -text -diff
*.ppsx -text -diff
*.ppsm -text -diff
*.sldx -text -diff
*.sldm -text -diff
# misc formats
*.raw -text -diff
# 0x4) -----------------------------------------------------------------------------------------------------------------
# __
# /\ \ __
# _ __ __ __ \_\ \ __ ____ /\_\ ___ ___ __ __ __
# /\`'__\/'__`\ /'__`\ /'_` \ /'__`\ /',__\ \/\ \ /' __` __`\ /'__`\ /'_ `\ /'__`\
# \ \ \//\ __//\ \L\.\_/\ \L\ \ /\ \L\.\_/\__, `\ \ \ \/\ \/\ \/\ \/\ \L\.\_/\ \L\ \/\ __/
# \ \_\\ \____\ \__/.\_\ \___,_\ \ \__/.\_\/\____/ \ \_\ \_\ \_\ \_\ \__/.\_\ \____ \ \____\
# \/_/ \/____/\/__/\/_/\/__,_ / \/__/\/_/\/___/ \/_/\/_/\/_/\/_/\/__/\/_/\/___L\ \/____/
# /\____/
# \_/__/
# ----------------------------------------------------------------------------------------------------------------------
*.png -text diff=image
*.jpg -text diff=image
*.jpeg -text diff=image
*.jp2 -text diff=image
*.j2k -text diff=image
*.jpf -text diff=image
*.gif -text -diff
*.webp -text -diff
*.tif -text -diff
*.tiff -text -diff
*.psd -text -diff
*.bmp -text -diff
*.heif -text -diff
*.heic -text -diff
*.svg -text -diff
*.svgz -text -diff
*.ai -text -diff
*.eps -text -diff
# 0x5) -----------------------------------------------------------------------------------------------------------------
# ___ __ __ __ __
# /\_ \ __ __ /\ \__ /\ \__ /\ \__ __ /\ \__ __
# \//\ \ /\_\ ___ __ __ __/\_\ ____\ \ ,_\ ____\ \ ,_\ __ \ \ ,_\/\_\ ____\ \ ,_\/\_\ ___ ____
# \ \ \ \/\ \ /' _ `\ /'_ `\/\ \/\ \/\ \ /',__\\ \ \/ /',__\\ \ \/ /'__`\ \ \ \/\/\ \ /',__\\ \ \/\/\ \ /'___\ /',__\
# \_\ \_\ \ \/\ \/\ \/\ \L\ \ \ \_\ \ \ \/\__, `\\ \ \_ /\__, `\\ \ \_/\ \L\.\_\ \ \_\ \ \/\__, `\\ \ \_\ \ \/\ \__//\__, `\
# /\____\\ \_\ \_\ \_\ \____ \ \____/\ \_\/\____/ \ \__\ \/\____/ \ \__\ \__/.\_\\ \__\\ \_\/\____/ \ \__\\ \_\ \____\/\____/
# \/____/ \/_/\/_/\/_/\/___L\ \/___/ \/_/\/___/ \/__/ \/___/ \/__/\/__/\/_/ \/__/ \/_/\/___/ \/__/ \/_/\/____/\/___/
# /\____/
# \_/__/
#
# @see https://github.com/github/linguist/issues/3666
# @see https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
# ----------------------------------------------------------------------------------------------------------------------
*.sql linguist-detectable=true
*.sql linguist-language=SQL
*.c linguist-language=C
*.h linguist-language=C
*.sh linguist-language=Shell
*.zsh linguist-language=Shell
*.rb linguist-language=Ruby
*.gemspec linguist-language=Ruby
Rakefile linguist-language=Ruby
Gemfile linguist-language=Ruby
LICENSE.txt linguist-documentation=false
History.txt linguist-documentation=false
CHANGELOG.md linguist-documentation=false
.rubocop.yml linguist-documentation=false