.gitattributes asks git to store text with LF, but only a client that honours it does: a GitHub web upload or an API commit lands bytes as sent. plugin-catalog/board-insights.yaml arrived that way. Every fresh checkout then showed it as modified, and the icon check (which needs a clean tree) failed on every catalog PR until #154171 rewrote it. - scripts/ci/check_line_endings.py reads `git ls-files --eol` and fails on any index blob that is crlf/mixed, except -text (binary) and eol=crlf (*.ps1) paths. `--fix` rewrites offenders with LF and stages them. - Runs as a Repository guards step and as `scripts/check --only line-endings` (so the pre-push hook catches it locally too). - `* text=auto` catch-all in .gitattributes, so text files outside the listed extensions are normalized at check-in too (renormalizing the whole tree with it changes nothing but the file below). - Fixes the one remaining offender: contributors/emails/uperLu@users.noreply.github.com. Co-authored-by: lancelotsh51sh <283335493+lancelotsh51sh@users.noreply.github.com>
3 lines
19 B
Plaintext
3 lines
19 B
Plaintext
uperLu
|
|
# PR #85276
|