Debian Codegraph @

.gitattributes

raw
1 # .gitattributes template for an open font design workflow
2 # Designed to tell git how to best deal with certain file formats
3 # The goal for eols is to have LF in the repo and
4 # LF in the working copy on all platforms.
5 # To tweak to your particular needs,
6 # see http://git-scm.com/book/en/Customizing-Git-Git-Attributes
7
8 # Windows users should use consider setting "core.autocrlf" to "input" and
9 # "core.eol" to "lf"
10 # to catch files that are not explicitly declared below.
11 # See http://git-scm.com/docs/git-config
12
13 # This causes git to auto detect text files
14 # which will have eol conversion applied according to core.autocrlf and core.eol
15 * text=auto
16
17 # Explicitly declare the below matches to be text files, to keep LF eols when
18 # writing to the working copy, and to convert CRLF to LF eols when adding to the repo.
19 # TODO: consider uncommenting the below line starting with [attr] and
20 # removing "eol=lf" from the below lines
21 #[attr]text text eol=lf
22
23 *.cfg text eol=lf
24 *.css text eol=lf
25 *.fea text eol=lf
26 *.feax text eol=lf
27 *.ftml text eol=lf
28 *.gdl text eol=lf
29 *.gdh text eol=lf
30 *.html text eol=lf
31 *.htxt text eol=lf
32 *.md text eol=lf
33 *.sil text eol=lf
34 *.srctext text eol=lf
35 *.tex text eol=lf
36 *.txt text eol=lf
37 *.TXT text eol=lf
38 *.vtp text eol=lf
39 *.xdvtxt text eol=lf
40 *.xsl text eol=lf
41 *.xml text eol=lf
42
43 preflight text eol=lf
44 preflightg text eol=lf
45 preglyphs text eol=lf
46 wscript text eol=lf
47
48 # Declare text files that will stay in LF (i.e. not expected to be used on Windows)
49 *.sh text eol=lf
50 *.sfd text eol=lf
51
52 # Keep these as LF because vfb2ufo generates LF, even on Windows:
53 *.glif text eol=lf
54 *.plist text eol=lf
55
56 # Declare all files that are truly binary and should not be modified.
57 *.png binary
58 *.jpg binary
59 *.vfb binary
60 *.ttf binary
61 *.pdf binary
62 *.PDF binary
63
64 # other document formats
65 *.pdf diff=astextplain
66 *.PDF diff=astextplain
67 *.doc diff=astextplain
68 *.DOC diff=astextplain
69 *.docx diff=astextplain
70 *.DOCX diff=astextplain