-
Notifications
You must be signed in to change notification settings - Fork 144
Expand file tree
/
Copy path.gitattributes
More file actions
21 lines (19 loc) · 928 Bytes
/
Copy path.gitattributes
File metadata and controls
21 lines (19 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Line endings are a property of the repository, not of the checkout.
#
# Several text assets are consumed byte-for-byte rather than line-by-line:
# `internal/agents/opencode/plugin/gortex.js` and
# `internal/agents/pi/extension/index.ts` are compiled into the binary with
# go:embed and written verbatim into a user's project, and the golden files
# under `cmd/gortex/testdata/` are compared against rendered output. Git for
# Windows installs with `core.autocrlf=true` — the GitHub windows runner
# included — so without this file a Windows checkout rewrites those assets to
# CRLF, which both changes what the binary ships and breaks the comparisons.
#
# The committed blobs are already LF, so this pins the checkout; it does not
# rewrite history or content.
* text=auto eol=lf
# PowerShell is the one place a CRLF checkout is still the convention.
*.ps1 text eol=crlf
# Never guess at these.
*.png binary
*.gz binary