-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
42 lines (38 loc) · 1.21 KB
/
Copy path.gitattributes
File metadata and controls
42 lines (38 loc) · 1.21 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
# Force LF line endings for all shell scripts and build files.
# Without this, Windows checkouts inject CRLF and bash chokes
# on `set -o pipefail\r` (S51 test-qemu.sh, S52 profiledef.sh).
*.sh text eol=lf
PKGBUILD text eol=lf
profiledef.sh text eol=lf
*.cfg text eol=lf
*.conf text eol=lf
*.service text eol=lf
*.rules text eol=lf
*.mk text eol=lf
Makefile text eol=lf
Kbuild text eol=lf
# Plymouth theme files — the script parser rejects CRLF with
# "Unparsed characters at end of file" on the first post-comment line.
# S81 Agent 1: user's S80 ISO bricked because Windows git checkout
# auto-CRLF'd the .script file and Plymouth silently died at initrd.
*.script text eol=lf
*.plymouth text eol=lf
# Python / C / kernel sources — LF (POSIX convention)
*.py text eol=lf
*.c text eol=lf
*.h text eol=lf
# Binary artifacts — never auto-CRLF
*.iso binary
*.img binary
*.efi binary
*.bin binary
*.ko binary
*.so binary
*.so.* binary
*.a binary
*.pkg.tar.zst binary
*.qcow2 binary
*.png binary
*.jpg binary
*.gif binary
*.ttf binary