summaryrefslogtreecommitdiff
path: root/.gitattributes
blob: 8539b8e2f68ea6fce201e2392b7a026717bd69db (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
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
# Default behaviour, for if core.autocrlf isn't set
* text=auto

# Binary files
boot/ocamlc binary
boot/ocamllex binary
boot/ocamldep binary
*.gif binary
*.png binary
*.tfm binary

.gitattributes           ocaml-typo=missing-header
.gitignore               ocaml-typo=missing-header
.merlin                  ocaml-typo=missing-header
.ocp-indent              ocaml-typo=missing-header
Changes                  ocaml-typo=non-ascii,missing-header
CONTRIBUTING.md          ocaml-typo=missing-header
INSTALL                  ocaml-typo=missing-header
LICENSE                  ocaml-typo=non-printing,missing-header

asmcomp/*/emit.mlp       ocaml-typo=tab,long-line,unused-prop

asmrun/i386.S            ocaml-typo=long-line

config/gnu               ocaml-typo=prune

emacs/*.el               ocaml-typo=long-line,unused-prop
emacs/COPYING            ocaml-typo=tab,non-printing,missing-header
emacs/ocamltags.in       ocaml-typo=non-printing
emacs/README*            ocaml-typo=missing-header

experimental             ocaml-typo=prune

ocamlbuild/*             ocaml-typo=long-line
ocamlbuild/AUTHORS       ocaml-typo=missing-header
ocamlbuild/ChangeLog     ocaml-typo=tab,missing-header
ocamlbuild/TODO          ocaml-typo=missing-header

ocamldoc/Changes.txt     ocaml-typo=missing-header
ocamldoc/ocamldoc.sty    ocaml-typo=missing-header

otherlibs/win32unix/readlink.c    ocaml-typo=long-line
otherlibs/win32unix/stat.c        ocaml-typo=long-line

# Line-ending specifications, for Windows interoperability
*.sh text eol=lf
*.sh.in text eol=lf
*.awk text eol=lf

# Test suite command fragments
*.checker text eol=lf
*.precheck text eol=lf
*.runner text eol=lf

configure text eol=lf
config/auto-aux/hasgot text eol=lf
config/auto-aux/hasgot2 text eol=lf
config/auto-aux/runtest text eol=lf
config/auto-aux/searchpath text eol=lf
config/auto-aux/solaris-ld text eol=lf
config/auto-aux/tryassemble text eol=lf
config/auto-aux/trycompile text eol=lf
config/gnu/config.guess text eol=lf
config/gnu/config.sub text eol=lf
ocamldoc/remove_DEBUG text eol=lf
stdlib/Compflags text eol=lf
stdlib/sharpbang text eol=lf
tools/check-typo text eol=lf
tools/ci-build text eol=lf
tools/cleanup-header text eol=lf
tools/gdb-macros text eol=lf
tools/magic text eol=lf
tools/make-opcodes text eol=lf
tools/make-package-macosx text eol=lf
tools/ocaml-objcopy-macosx text eol=lf
tools/ocamlmktop.tpl text eol=lf
tools/ocamlsize text eol=lf

# These two are cat scripts, so may not actually require this
config/auto-aux/sharpbang text eol=lf
config/auto-aux/sharpbang2 text eol=lf

# Similarly, these are all Perl scripts, so may not actually require this
manual/tools/caml-tex text eol=lf
manual/tools/format-intf text eol=lf
manual/tools/htmlcut text eol=lf
manual/tools/htmltbl text eol=lf
manual/tools/htmlthread text eol=lf
manual/tools/texexpand text eol=lf

# Checking out the parsetree test files with \r\n endings causes all the
# locations to change, so use \n endings only, even on Windows
testsuite/tests/parsing/*.ml text eol=lf