-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdot.gitattributes_global
More file actions
471 lines (348 loc) · 11.2 KB
/
Copy pathdot.gitattributes_global
File metadata and controls
471 lines (348 loc) · 11.2 KB
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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# -*- mode: Gitattributes -*-
# BEGIN gitconfig/dot.gitattributes_global.base
# -*- mode: Gitattributes -*-
# NOTE It is best to have one attribute per line.
# https://github.com/git/git/blob/df6c4f722c94641d5a9ea5496511f7043433abc2/Documentation/gitattributes.txt#L57-L59
# When more than one pattern matches the path, a later line overrides an earlier line.
# This overriding is done per attribute.
# A primer on a few git attributes
# whitespace=blank-at-eof = do not allow trailing lines at the end of the file (default on)
# whitespace=blank-at-eol = do not allow trailing spaces at the end of the line (default on)
# whitespace=trailing-space = short for blank-at-eol and blank-at-eof (default on)
# whitespace=space-before-tab = do not allow spaces followed by tabs (default on)
# whitespace=tab-in-indent = do not allow indentation by tabs (default on)
# ==============================================================================
# Default behaviour, in case the git client doesn't have core.autocrlf set:
# commit only LF line endings, but use CRLF locally if needed
# https://help.github.com/articles/dealing-with-line-endings/
# http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/
* text=auto eol=lf
# END gitconfig/dot.gitattributes_global.base
# BEGIN gitconfig/dot.gitattributes_global.base_whitespace
# -*- mode: Gitattributes -*-
# Whitespace ===================================================================
* whitespace=space-before-tab,tab-in-indent,trailing-space
# Whitespace (exclusions) ======================================================
*.mk whitespace=space-before-tab,-tab-in-indent,trailing-space
Makefile* whitespace=space-before-tab,-tab-in-indent,trailing-space
# END gitconfig/dot.gitattributes_global.base_whitespace
# BEGIN gitconfig/dot.gitattributes_global.base_builtin
# -*- mode: Gitattributes -*-
# Text (builtin) ===============================================================
# https://github.com/git/git/blob/df6c4f722c94641d5a9ea5496511f7043433abc2/Documentation/gitattributes.txt#L803-L850
# https://github.com/git/git/blob/d486ca60a51c9cb1fe068803c3f540724e95e83a/userdiff.c
*.ada text
*.adb text
*.ads text
*.bash text
*.sh text
*.bib text
*.bibtex text
*.c text
*.c++ text
*.cc text
*.cpp text
*.cxx text
*.h text
*.h++ text
*.hh text
*.hpp text
*.cs text
*.css text
*.dts text
*.dtsi text
*.ex text
*.exs text
*.[Ff] text
*.[Ff]or text
*.[Ff][0-9][0-9] text
*.fountain text
*.go text
*.htm text
*.html text
*.java text
*.gradle text
*.gradle.kts text
*.markdown text
*.md text
*.mdwn text
*.mdown text
*.mkd text
*.mkdn text
# NOTE skipping *.m, because it matches Matlab/ObjectiveC too
# *.m text
*.mu text
# NOTE skipping *.m, because it matches Mathematica/Matlab too
# *.m text
*.mm text
*.p text
*.pas text
*.pp text
*.perl text
*.pl text
*.pm text
*.php text
*.inc text
*.pxd text
*.py text
*.py3 text
*.pyi text
*.pyw text
*.pyx text
*.pyz text
*.gemspec text
*.rb text
*.rs text
# see https://stackoverflow.com/a/56853906/465684
# Racket
*.rkt text
# Scheme Scribe
*.scr text
# Scribble
*.scrbl text
# Extensions: Scheme
*.scm text
# Extensions: Scheme library definition
*.sld text
# Extensions: Scheme library source
*.sls text
# Extensions: Scheme program source
*.sps text
# Rare: Scheme source # .scm
*.ss text
# Rare: Scheme # .scm
*.sc text
# Rare: Scheme
*.sch text
# Rare: Scheme
*.sps7 text
*.tex text
# END gitconfig/dot.gitattributes_global.base_builtin
# BEGIN gitconfig/dot.gitattributes_global.base_builtin_diff
# -*- mode: Gitattributes -*-
# Text (builtin) ===============================================================
# https://github.com/git/git/blob/df6c4f722c94641d5a9ea5496511f7043433abc2/Documentation/gitattributes.txt#L803-L850
# https://github.com/git/git/blob/d486ca60a51c9cb1fe068803c3f540724e95e83a/userdiff.c
*.ada diff=ada
*.adb diff=ada
*.ads diff=ada
*.bash diff=bash
*.sh diff=bash
*.bib diff=bibtex
*.bibtex diff=bibtex
*.c diff=cpp
*.c++ diff=cpp
*.cc diff=cpp
*.cpp diff=cpp
*.cxx diff=cpp
*.h diff=cpp
*.h++ diff=cpp
*.hh diff=cpp
*.hpp diff=cpp
*.cs diff=csharp
*.css diff=css
*.dts diff=dts
*.dtsi diff=dts
*.ex diff=elixir
*.exs diff=elixir
*.[Ff] diff=fortran
*.[Ff]or diff=fortran
*.[Ff][0-9][0-9] diff=fortran
*.fountain diff=fountain
*.go diff=golang
*.htm diff=html
*.html diff=html
*.java diff=java
*.gradle diff=java
*.gradle.kts diff=java
*.markdown diff=markdown
*.md diff=markdown
*.mdwn diff=markdown
*.mdown diff=markdown
*.mkd diff=markdown
*.mkdn diff=markdown
# NOTE skipping *.m, because it matches Matlab/ObjectiveC too
# *.m diff=matlab
*.mu diff=matlab
# NOTE skipping *.m, because it matches Mathematica/Matlab too
# *.m diff=objc
*.mm diff=objc
*.p diff=pascal
*.pas diff=pascal
*.pp diff=pascal
*.perl diff=perl
*.pl diff=perl
*.pm diff=perl
*.php diff=php
*.inc diff=php
*.pxd diff=python
*.py diff=python
*.py3 diff=python
*.pyi diff=python
*.pyw diff=python
*.pyx diff=python
*.pyz diff=python
*.gemspec diff=ruby
*.rb diff=ruby
*.rs diff=rust
# see https://stackoverflow.com/a/56853906/465684
# Racket
*.rkt diff=scheme
# Scheme Scribe
*.scr diff=scheme
# Scribble
*.scrbl diff=scheme
# Extensions: Scheme
*.scm diff=scheme
# Extensions: Scheme library definition
*.sld diff=scheme
# Extensions: Scheme library source
*.sls diff=scheme
# Extensions: Scheme program source
*.sps diff=scheme
# Rare: Scheme source # .scm
*.ss diff=scheme
# Rare: Scheme # .scm
*.sc diff=scheme
# Rare: Scheme
*.sch diff=scheme
# Rare: Scheme
*.sps7 diff=scheme
*.tex diff=tex
# END gitconfig/dot.gitattributes_global.base_builtin_diff
# BEGIN gitconfig/dot.gitattributes_global.base_text
# -*- mode: Gitattributes -*-
# Text =========================================================================
*.plist text
*.bat text
*.cmd text
*.csv text
*.ini text
*.js text
*.json text
*.mjs text
*.mk text
*.ps1 text
*.sql text
*.template text
*.toml text
*.ts text
*.txt text
*.xml text
*.yaml text
*.yml text
*.zsh text
.editorconfig text
.gitattributes text
.gitconfig text
.gitmodules text
.mailmap text
.npmignore text
Makefile* text
*.bat eol=crlf
*.cmd eol=crlf
*.ps1 eol=crlf
# END gitconfig/dot.gitattributes_global.base_text
# BEGIN gitconfig/dot.gitattributes_global.base_text_diff
# -*- mode: Gitattributes -*-
# Text =========================================================================
*.plist diff=custom-yp-plist filter=custom-yp-plist
# END gitconfig/dot.gitattributes_global.base_text_diff
# BEGIN gitconfig/dot.gitattributes_global.base_binary
# -*- mode: Gitattributes -*-
# Binaries =====================================================================
*.exe binary
# *.doc binary
# *.dot binary
*.docm binary
*.docx binary
*.dotm binary
*.dotx binary
*.gif binary
*.jpg binary
*.jpeg binary
*.png binary
*.gpg binary
*.ods binary
*.odt binary
*.odp binary
*.pdf binary
*.bz2 binary
*.gz binary
*.tar binary
*.tar.bz2 binary
*.tar.gz binary
*.tar.xz binary
*.tgz binary
*.zip binary
*.xz binary
*.doc binary
*.dot binary
*.ico binary
*.rtf binary
*.tif binary
*.tiff binary
*.xlsx binary
# END gitconfig/dot.gitattributes_global.base_binary
# BEGIN gitconfig/dot.gitattributes_global.base_binary_diff
# -*- mode: Gitattributes -*-
# Binaries =====================================================================
*.exe diff=custom-yp-bin
# *.doc diff=custom-yp-doc
# *.dot diff=custom-yp-doc
*.docm diff=custom-yp-docx
*.docx diff=custom-yp-docx
*.dotm diff=custom-yp-docx
*.dotx diff=custom-yp-docx
*.gif diff=custom-yp-exif
*.jpg diff=custom-yp-exif
*.jpeg diff=custom-yp-exif
*.png diff=custom-yp-exif
*.gpg diff=custom-yp-gpg
*.ods diff=custom-yp-odf
*.odt diff=custom-yp-odf
*.odp diff=custom-yp-odf
*.pdf diff=custom-yp-pdf
*.bz2 diff=custom-yp-bz2
*.gz diff=custom-yp-gz
*.tar diff=custom-yp-tar
*.tar.bz2 diff=custom-yp-tar-bz2
*.tar.gz diff=custom-yp-tar-gz
*.tar.xz diff=custom-yp-tar-xz
*.tgz diff=custom-yp-tar-gz
*.zip diff=custom-yp-zip
*.xz diff=custom-yp-xz
# END gitconfig/dot.gitattributes_global.base_binary_diff
# BEGIN gitconfig/dot.gitattributes_global.base_exclusions
# -*- mode: Gitattributes -*-
# 3rd-party exclusions =========================================================
# e.g. /path -whitespace -text
*.patch -text
*.lock -diff
*.svg -diff
package-lock.json -diff
Brewfile.lock diff
Podfile.lock diff
# END gitconfig/dot.gitattributes_global.base_exclusions
# BEGIN gitconfig/dot.gitattributes_global.base_export_ignore
# -*- mode: Gitattributes -*-
# Ignore when exporting (GIT) ==================================================
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore
.gitmodules export-ignore
# Ignore when exporting (CI) ===================================================
.github export-ignore
.circleci export-ignore
.codeship export-ignore
.drone.yml export-ignore
.semaphore export-ignore
.cirrus.yml export-ignore
.travis.yml export-ignore
.gitlab-ci.yml export-ignore
bitrise.yml export-ignore
buddy.yml export-ignore
codeship-services.yml export-ignore
codeship-steps.yml export-ignore
# END gitconfig/dot.gitattributes_global.base_export_ignore
poetry.lock diff