-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
.gitattributes
58 lines (54 loc) · 1.46 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
# Tell git what files are txt
*.py text diff=python
*.pyj text diff=python linguist-language=python
*.recipe text diff=python linguist-language=python
*.coffee text
*.js text
*.pot text
*.po text
*.html text
*.xhtml text
*.htm text
*.css text
*.rst text
*.md text
*.txt text
*.session text
*.cfg text
*.yaml text
*.svg text
*.xml text
*.xsl text
*.tmpl text
*.qrc text
*.sh text
*.fb2 text
*.bat text eol=crlf
# Tell git what files are binary
*.zip binary
*.epub binary
*.docx binary
*.jpg binary
*.jpeg binary
*.png binary
*.gif binary
*.pickle binary
*.pdf binary
# Prevent certain files from being exported:
.gitattributes export-ignore
.gitignore export-ignore
# Mark vendored files
resources/mathjax/* linguist-vendored=true
resources/coffee-script.js linguist-vendored=true
resources/csscolorparser.js linguist-vendored=true
resources/viewer/hyphen* linguist-vendored=true
resources/viewer/jquery* linguist-vendored=true
resources/stylelint-bundle.min.js linguist-vendored=true
src/hunspell linguist-vendored=true
src/calibre/utils/windows/wintoastlib* linguist-vendored=true
# Mark generated files
resources/content-server/index-generated.html linguist-generated=true
resources/editor.js linguist-generated=true
resources/viewer.js linguist-generated=true
resources/viewer.html linguist-generated=true
src/calibre/ebooks/html_entities.h linguist-generated=true