Skip to content

Enforce LF line endings - #36

Merged
bonelifer merged 1 commit into
masterfrom
lf-line-endings
Oct 6, 2026
Merged

bonelifer merged 1 commit into
masterfrom
lf-line-endings

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

Adds the phpbbmodders line-ending policy and converts the files that still used CRLF.

Changes

  • .gitattributes: * text=auto eol=lf, plus binary rules for image types. The existing export-ignore rules are kept.
  • .editorconfig, license.txt and .gitignore converted from CRLF to LF. Only line endings change (git diff --ignore-cr-at-eol is empty apart from the note below).
  • .gitignore is marked -text: its macOS Icon rule needs a literal carriage return in the pattern, which normalization would otherwise strip. The file is LF apart from that one character.

Kept separate from the vendor move (#35) so the line-ending change can be reviewed on its own.


Investigated and written by Claude on behalf of William Jacoby (bonelifer).

🤖 Generated with Claude Code

Adds the phpbbmodders LF policy to .gitattributes (* text=auto eol=lf, binary rules for images) and converts the three files that used CRLF: .editorconfig, license.txt and .gitignore. Only line endings change.

.gitignore is stored as-is (-text) because its macOS "Icon" rule needs a literal carriage return in the pattern.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bonelifer
bonelifer merged commit 9574e2a into master Oct 6, 2026
1 check passed
@bonelifer
bonelifer deleted the lf-line-endings branch October 6, 2026 20:52
@bonelifer bonelifer mentioned this pull request Oct 6, 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.

1 participant