-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
27 lines (24 loc) · 1.15 KB
/
Copy path.gitattributes
File metadata and controls
27 lines (24 loc) · 1.15 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
# Force LF line endings for shell scripts and the install template.
#
# Windows GitHub Actions runners default to `core.autocrlf=true`,
# which converts checked-out text files to CRLF. The Phase 2 SSoT
# tooling regenerates install.sh from install.sh.template via bash
# (LF-only output) and compares against the committed file via
# `diff -q`. Without this attribute, Windows runners report a
# spurious "install.sh out of sync" error on every release-event
# run because of CRLF vs LF mismatch on platforms with autocrlf
# enabled.
#
# Forcing eol=lf on these specific files makes git keep them LF
# regardless of platform autocrlf settings, so the regenerator's
# output matches the working-tree content byte-for-byte.
*.sh text eol=lf
*.template text eol=lf
install.sh text eol=lf
# Visual-regression baseline screenshots (#244): treat as binary so git
# never CRLF-mangles them and diffs stay clean.
*.png binary
# Bun lockfile (#1492): mark generated so GitHub collapses its diff in the
# PR view (as it does for npm's package-lock.json). It is committed and
# reviewed via `bun install` output, not by hand.
frontend/bun.lock linguist-generated=true