Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
48 lines (42 loc) · 2.05 KB
/
Copy path.gitattributes
File metadata and controls
48 lines (42 loc) · 2.05 KB
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
# This is a good default: files that are auto-detected by git to be text are
# converted to the platform-native line ending (LF on Unix, CRLF on Windows)
# in the working tree and to LF in the repository.
#
* text=auto
# Use `eol=crlf` for files that should have the CRLF line ending both in the
# working tree (even on Unix) and in the repository.
#
#*.bat text eol=crlf
# Use `eol=lf` for files that should have the LF line ending both in the
# working tree (even on Windows) and in the repository.
#
#*.sh text eol=lf
# Use `binary` to make sure certain files are never auto-detected as text.
#
#*.png binary
# Linguist, which GitHub's syntax highlighting and language statistics come
# from, has no build2 language and takes a buildfile for Ruby (Buildr's
# Buildfile). So we keep the build2 files out of the statistics and highlight
# each as the language it is closest to, in both of build2's naming schemes:
# buildfiles as makefiles, testscripts as shell scripts, and manifests (the
# identity register is a manifest list as well) as YAML.
#
buildfile linguist-detectable=false linguist-language=Makefile
build2file linguist-detectable=false linguist-language=Makefile
*.build linguist-detectable=false linguist-language=Makefile
*.build2 linguist-detectable=false linguist-language=Makefile
testscript linguist-detectable=false linguist-language=Shell
*.testscript linguist-detectable=false linguist-language=Shell
manifest linguist-detectable=false linguist-language=YAML
*.manifest linguist-detectable=false linguist-language=YAML
identities linguist-detectable=false linguist-language=YAML
# Third-party files retain their own notices and are exempt from our SPDX
# header (see LEGAL).
#
libcompanion/libcompanion/minhook/* -spdx
companion/doc/style/** -spdx
# The CLI compiler generates the command line parser of the companion program
# and we commit a copy in pregenerated/, so that the consumption build does
# not need the compiler. The generated files carry the compiler's own notice.
#
companion/companion/pregenerated/** -spdx linguist-generated