-
Notifications
You must be signed in to change notification settings - Fork 165
Expand file tree
/
Copy path.gitattributes
More file actions
22 lines (19 loc) · 1.21 KB
/
Copy path.gitattributes
File metadata and controls
22 lines (19 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
# go:embed bakes internal/web/dist into the binary, and tests compare the
# embedded bytes exactly. Force LF for the text asset types so Windows
# checkouts (core.autocrlf=true) embed the same bytes as other platforms.
internal/web/dist/**/*.css text eol=lf
internal/web/dist/**/*.html text eol=lf
internal/web/dist/**/*.js text eol=lf
internal/web/dist/**/*.json text eol=lf
internal/web/dist/**/*.mjs text eol=lf
internal/web/dist/**/*.svg text eol=lf
# vCard conformance fixtures intentionally retain wire-format CRLF bytes.
cmd/msgvault/cmd/testdata/issue-769.json -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
internal/vcard/testdata/*.vcf -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
internal/vcard/registry/data/*.csv -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
# Slackdump attachments are arbitrary archived bytes. Never rewrite fixture
# line endings on Windows checkouts.
internal/slack/testdata/slackdump/standard/general/attachments/** -text
internal/slack/testdata/slackdump/standard/__uploads/** -text
# Keep the pinned upstream Vec1 source byte-for-byte reproducible.
internal/vector/sqlitevec/vec1/vec1.c -text whitespace=-blank-at-eol,-blank-at-eof