chore: normalise all tracked text files to LF + enforce via .gitattributes - #651
Merged
Merged
Conversation
…butes 114 tracked text files had drifted to CRLF endings despite the repo's LF rule (surfaced by the 2026-07-25 hygiene crlf tier). Strip the carriage returns in one mechanical pass and add '* text=auto eol=lf' so git normalises every text file at checkin/checkout from now on, subsuming the previous targeted shebang/script rules. Verified: 'git diff --ignore-cr-at-eol' shows zero non-ending content change, no CRLF text files remain, and the full test suite passes post-conversion. Archived patches/ files are marked -text to stay byte-exact for git apply. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PzN9PZfG5zXMVku8ckSqkC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the org-wide CRLF normalisation (hygiene crlf tier, 2026-07-25). 114 tracked text files had drifted to CRLF despite the LF rule. One mechanical pass strips the carriage returns;
* text=auto eol=lf(subsuming the previous*.shrule) enforces LF from now on. The archived historical PR patches underpatches/are excluded and marked-textso they stay byte-exact forgit apply.Verified:
git diff --ignore-cr-at-eolshows zero non-ending content change; no CRLF text files remain outsidepatches/; suite green post-conversion (448 passed).Generated by Claude Code