Skip to content

add .gitattributes and normalize line endings to LF - #122

Merged
andytorrestb merged 1 commit into
plume-kit:masterfrom
andytorrestb:master
Jul 19, 2026
Merged

add .gitattributes and normalize line endings to LF#122
andytorrestb merged 1 commit into
plume-kit:masterfrom
andytorrestb:master

Conversation

@andytorrestb

Copy link
Copy Markdown
Member

The repo had no .gitattributes and a mix of LF (168) and CRLF (108) text-file blobs, so file end-of-line style could flip between commits and inflate diffs with phantom deleted/re-added lines (e.g. a full-file rewrite recently showed +417/-137 for a real +281/-1 change).

Introduce a .gitattributes that stores all text files with LF in the repository (text=auto) while leaving working-tree endings to core.autocrlf, so Windows checkouts still get CRLF locally. Known binary assets (*.stl, *.png, *.pw) are marked binary so their bytes are never converted. Existing CRLF-blob files are renormalized to LF in the same commit; every non-.gitattributes change here is end-of-line only.

The repo had no .gitattributes and a mix of LF (168) and CRLF (108)
text-file blobs, so file end-of-line style could flip between commits
and inflate diffs with phantom deleted/re-added lines (e.g. a full-file
rewrite recently showed +417/-137 for a real +281/-1 change).

Introduce a .gitattributes that stores all text files with LF in the
repository (text=auto) while leaving working-tree endings to
core.autocrlf, so Windows checkouts still get CRLF locally. Known binary
assets (*.stl, *.png, *.pw) are marked binary so their bytes are never
converted. Existing CRLF-blob files are renormalized to LF in the same
commit; every non-.gitattributes change here is end-of-line only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@andytorrestb
andytorrestb merged commit bb772a5 into plume-kit:master Jul 19, 2026
1 check passed
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.

1 participant