Skip to content

Add .gitattributes so Windows checkouts get LF endings - #550

Merged
Andrews54757 merged 1 commit into
Andrews54757:mainfrom
Nawid3333:pr/gitattributes
Sep 9, 2026
Merged

Add .gitattributes so Windows checkouts get LF endings#550
Andrews54757 merged 1 commit into
Andrews54757:mainfrom
Nawid3333:pr/gitattributes

Conversation

@Nawid3333

Copy link
Copy Markdown
Contributor

With core.autocrlf=true (the Windows default), a fresh clone gets CRLF in the working tree, and eslint-config-google's linebreak-style rule then reports an error on essentially every line — 2352 of them on this repo. That makes linting unusable on Windows, and it's invisible on Linux so it never showed up in your CI.

The repository content is already LF throughout, so this file changes checkout behaviour only — it produces no content diff:

  • * text=auto eol=lf checks out all text files with LF.
  • Binary assets are pinned so they are never converted: png, wasm, ort, zip, xpi.

Verified on Windows 11: a fresh clone with this file lints at 0 errors, where the same clone without it reports 2352 linebreak-style errors.

Pairs with #548 — together they make a Windows checkout buildable and lintable.

With core.autocrlf=true (the Windows default), git hands the working tree
CRLF, and eslint-config-google linebreak-style then reports an error on
every single line - 2352 of them across the repo, i.e. lint is unusable on
Windows. The repository content is already LF throughout, so this file
changes checkout behaviour only and produces no content diff.

* text=auto eol=lf checks out all text files with LF.
Binary assets are pinned so they are never converted: png, wasm, ort,
zip, xpi.

Verified on Windows 11: a fresh clone with this file lints at 0 errors,
where the same clone without it reports 2352.
Nawid3333 added a commit to Nawid3333/FastStream that referenced this pull request Sep 7, 2026
…point

Phase 10 is no longer "not started": Andrews54757#548, Andrews54757#549, Andrews54757#550 and Andrews54757#551 are open
upstream, with follow-up comments on Andrews54757#547 and Andrews54757#546. The unlisted AMO
submission pipeline ran end to end on 2026-09-07 (local sign plus the
publish-amo workflow). The baseline re-capture is also recorded as done -
the workspace-level baseline now holds the modernised fork at cd728ab
(852 files, spot-verified), with the original V1.3.77 upstream build
archived separately.
@Andrews54757
Andrews54757 merged commit a833c9a into Andrews54757:main Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants