-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
26 lines (23 loc) · 872 Bytes
/
Copy path.gitattributes
File metadata and controls
26 lines (23 loc) · 872 Bytes
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
# Normalise line endings so a Windows clone does not produce a diff on every
# file -- and, more importantly, so shell scripts stay LF and remain executable
# inside the Linux CI runner and the Docker image. CRLF in setup-git.sh is the
# classic "bash: ./setup-git.sh: /usr/bin/env: bad interpreter" bug.
* text=auto eol=lf
*.sh text eol=lf
*.py text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.md text eol=lf
*.html text eol=lf
*.json text eol=lf
Makefile text eol=lf
Dockerfile text eol=lf
# Binary: never touch these, and do not show a useless diff for them.
*.png binary
*.jpg binary
*.zip binary
*.webm binary
# Keep generated/reference material out of language statistics and out of PR
# diffs by default.
docs/** linguist-documentation
tests/** linguist-detectable=true