-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
35 lines (34 loc) · 1.41 KB
/
Copy path.gitattributes
File metadata and controls
35 lines (34 loc) · 1.41 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
# Force LF line endings on every text source. Without this, a Windows
# clone with `core.autocrlf=true` (the Git for Windows default) checks
# out shell scripts and Makefiles as CRLF. WSL bash then trips on the
# `\r` bytes ("set: pipefail: invalid option name") and the build/cross
# toolchain script bombs in the first 20 lines. Linux/macOS users are
# unaffected -- they were already getting LF.
* text=auto eol=lf
*.sh text eol=lf
*.s text eol=lf
*.S text eol=lf
*.c text eol=lf
*.h text eol=lf
*.py text eol=lf
*.ld text eol=lf
*.md text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
Makefile text eol=lf
# Binary blobs: never touched, never line-end-converted.
*.png binary
*.wad binary
*.bin binary
*.iso binary
*.stinkpkg binary
# Vendored third-party code: the Doom engine port under apps/doom/ is
# Chocolate-Doom-derived code (GPL-2.0) imported via doomgeneric. Marking
# it `linguist-vendored` keeps GitHub from counting those ~60k lines toward
# the StinkOS language stats AND suppresses the secondary licence detection
# that would otherwise paint the repo header with a "GPL-2.0 also" tag.
# The licence text is still distributed at apps/doom/COPYING so we remain
# compliant with the GPL-2.0 obligation; we just don't double-advertise it
# on the front page.
apps/doom/** linguist-vendored
apps/doom/COPYING linguist-detectable=false