-
Notifications
You must be signed in to change notification settings - Fork 183
Expand file tree
/
Copy path.gitattributes
More file actions
19 lines (17 loc) · 1 KB
/
Copy path.gitattributes
File metadata and controls
19 lines (17 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Generated at release time by `nuget-license | Set-Content` on a Windows runner,
# which writes CRLF. Pin to LF so the regenerated file matches the committed blob
# regardless of the runner's core.autocrlf setting — otherwise releases would
# commit pure line-ending churn (or treat the file as binary). See release.yml.
# (Pattern has no slash so it matches the file regardless of path — its directory
# "Solution Items" contains a space, which .gitattributes cannot express in a path.)
usedComponents.json text eol=lf
# Git executes hooks with its shell, including on Windows.
.githooks/* text eol=lf
# Line-ending test fixtures (src/LogExpert.Tests/TestData). Their whole point is
# byte-exact terminators (bare \r, mixed \n/\r\n/\r), so git must NOT normalize
# EOLs on them — otherwise core.autocrlf would rewrite \r\n<->\n and corrupt the
# fixtures. Mark binary to store and check out the exact bytes.
LineEndings_LF.txt binary
LineEndings_CRLF.txt binary
LineEndings_CR.txt binary
LineEndings_Mixed.txt binary