-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitattributes
70 lines (61 loc) · 1.9 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
# .gitattributes template for an open font design workflow
# Designed to tell git how to best deal with certain file formats
# The goal for eols is to have LF in the repo and
# LF in the working copy on all platforms.
# To tweak to your particular needs,
# see http://git-scm.com/book/en/Customizing-Git-Git-Attributes
# Windows users should use consider setting "core.autocrlf" to "input" and
# "core.eol" to "lf"
# to catch files that are not explicitly declared below.
# See http://git-scm.com/docs/git-config
# This causes git to auto detect text files
# which will have eol conversion applied according to core.autocrlf and core.eol
* text=auto
# Explicitly declare the below matches to be text files, to keep LF eols when
# writing to the working copy, and to convert CRLF to LF eols when adding to the repo.
# TODO: consider uncommenting the below line starting with [attr] and
# removing "eol=lf" from the below lines
#[attr]text text eol=lf
*.cfg text eol=lf
*.css text eol=lf
*.fea text eol=lf
*.feax text eol=lf
*.ftml text eol=lf
*.gdl text eol=lf
*.gdh text eol=lf
*.html text eol=lf
*.htxt text eol=lf
*.md text eol=lf
*.sil text eol=lf
*.srctext text eol=lf
*.tex text eol=lf
*.txt text eol=lf
*.TXT text eol=lf
*.vtp text eol=lf
*.xdvtxt text eol=lf
*.xsl text eol=lf
*.xml text eol=lf
preflight text eol=lf
preflightg text eol=lf
preglyphs text eol=lf
wscript text eol=lf
# Declare text files that will stay in LF (i.e. not expected to be used on Windows)
*.sh text eol=lf
*.sfd text eol=lf
# Keep these as LF because vfb2ufo generates LF, even on Windows:
*.glif text eol=lf
*.plist text eol=lf
# Declare all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.vfb binary
*.ttf binary
*.pdf binary
*.PDF binary
# other document formats
*.pdf diff=astextplain
*.PDF diff=astextplain
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain