-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
68 lines (64 loc) · 2.17 KB
/
Copy path.gitattributes
File metadata and controls
68 lines (64 loc) · 2.17 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Lock Unix-target file types to LF regardless of clone-host autocrlf.
#
# Caught 2026-05-06 during cross-host harness re-run dispatch:
# Windows clone with default core.autocrlf=true converted .sh files to
# CRLF on checkout. SCP'd to Linux, bash interpreted `set -euo pipefail<CR>`
# as if `<CR>` were part of the option name → "set: pipefail: invalid
# option name", exit 2. The fix downstream (sed -i 's/\r$//') is a band-aid;
# this file makes the line-ending policy authoritative at clone time.
#
# Existing Windows working trees with CRLF will need to renormalize via
# `git add --renormalize .` (or just touch + add affected files) the next
# time they're modified. Lazy renormalization is the lowest-disruption path.
# Unix-target file types — LF mandatory
*.sh text eol=lf
*.py text eol=lf
.githooks/* text eol=lf
*.csv text eol=lf
*.cfg text eol=lf
*.conf text eol=lf
*.service text eol=lf
*.target text eol=lf
*.timer text eol=lf
*.socket text eol=lf
*.mount text eol=lf
*.path text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.json text eol=lf
*.toml text eol=lf
*.in text eol=lf
*.mk text eol=lf
*.rules text eol=lf
Makefile text eol=lf
# Cryptographic text assets — PEM-encoded family (companion to *.der binary).
# Added 2026-05-12 after F17 surfaced Windows autocrlf=true silently
# CRLF-transformed docker/shim-build/vendor-cert/intergenos-secure-boot-ca.pem
# on checkout, producing wrong SHA in SBOM emission. See F17 root-cause
# investigation in the SBOM-gen patch commit of this 3-commit fix wave.
*.pem text eol=lf
*.crt text eol=lf
*.cert text eol=lf
# Documentation — let platform pick (markdown viewers tolerate either)
*.md text
*.txt text
# Binary — explicit so git never tries to text-munge
*.efi binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.gpg binary
*.asc binary
*.der binary
*.qcow2 binary
*.iso binary
*.img binary
*.zst binary
*.gz binary
*.xz binary
*.bz2 binary
*.tar binary
*.zip binary
*.pdf binary