Repository navigation
Normalize line endings to LF with a .gitattributes - #14
Merged
Merged
Conversation
40 tracked text files were LF and 18 were CRLF, none mixed, so every edit made from a Mac or Linux had to detect and preserve the ending of the file it touched or produce a whole-file diff. iLEAPP and ALEAPP are LF with no attributes file; GLEAPP gets one so the rule is enforced on commit and on checkout rather than remembered. `* text=auto eol=lf` normalizes text; wheels, the ONNX model and images are marked -text so normalization can never touch them. The 18 CRLF files are renormalized here. Content is unchanged: git diff --ignore-cr-at-eol against the parent is empty apart from .gitattributes itself. Co-Authored-By: Claude Fable 5.1 <[email protected]>
abrignoni
force-pushed
the
chore/line-endings
branch
from
September 3, 2026 04:51
9cd9715 to
d898e1f
Compare
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.
Adds a
.gitattributesthat keeps text files LF in the repository and on checkout, matching iLEAPP and ALEAPP, and renormalizes the 18 files that were CRLF. Wheels, the ONNX model and images are marked-textso normalization can never touch them.The repo was 40 LF files to 18 CRLF, none mixed. The CRLF set is the core modules plus the README, spec, installer script and pyproject, and this is line endings only:
git diff --ignore-cr-at-eolagainst main is empty apart from the new file. The suite passes on the renormalized tree.Editors keep LF once it is checked out that way, and PowerShell, Inno Setup and Python all read it.
🤖 Generated with Claude Code