aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitattributes
blob: db179c8d2085b756cb1878e98c808d1e7b0300d4 (plain)
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
.gitattributes export-ignore
.gitignore export-ignore
.mailmap export-ignore

# Because our commit hook automatically does [apply whitespace=fix] we
# disable whitespace checking for all files except those where we want
# it. Otherwise rogue global configuration and forgotten local
# configuration can break commits.
* -whitespace

# tabs are allowed in Makefiles.
Makefile* whitespace=trailing-space
tools/CoqMakefile.in whitespace=trailing-space

# in general we don't want tabs.
*.asciidoc whitespace=trailing-space,tab-in-indent
*.bib whitespace=trailing-space,tab-in-indent
*.c whitespace=trailing-space,tab-in-indent
*.css whitespace=trailing-space,tab-in-indent
*.dtd whitespace=trailing-space,tab-in-indent
*.el whitespace=trailing-space,tab-in-indent
*.h whitespace=trailing-space,tab-in-indent
*.html whitespace=trailing-space,tab-in-indent
*.hva whitespace=trailing-space,tab-in-indent
*.js whitespace=trailing-space,tab-in-indent
*.json whitespace=trailing-space,tab-in-indent
*.lang whitespace=trailing-space,tab-in-indent
*.md whitespace=trailing-space,tab-in-indent
*.merlin whitespace=trailing-space,tab-in-indent
*.ml whitespace=trailing-space,tab-in-indent
*.ml4 whitespace=trailing-space,tab-in-indent
*.mli whitespace=trailing-space,tab-in-indent
*.mll whitespace=trailing-space,tab-in-indent
*.mllib whitespace=trailing-space,tab-in-indent
*.mlp whitespace=trailing-space,tab-in-indent
*.mlpack whitespace=trailing-space,tab-in-indent
*.nsh whitespace=trailing-space,tab-in-indent
*.nsi whitespace=trailing-space,tab-in-indent
*.py whitespace=trailing-space,tab-in-indent
*.sh whitespace=trailing-space,tab-in-indent
*.sty whitespace=trailing-space,tab-in-indent
*.tex whitespace=trailing-space,tab-in-indent
*.txt whitespace=trailing-space,tab-in-indent
*.v whitespace=trailing-space,tab-in-indent
*.xml whitespace=trailing-space,tab-in-indent
*.yml whitespace=trailing-space,tab-in-indent

# CR is desired for these Windows files.
*.bat whitespace=cr-at-eol,trailing-space,tab-in-indent