Skip to content

Add .gitattributes to enforce LF line endings#1431

Merged
lihenggui merged 2 commits into
mainfrom
chore/add-gitattributes
Feb 11, 2026
Merged

Add .gitattributes to enforce LF line endings#1431
lihenggui merged 2 commits into
mainfrom
chore/add-gitattributes

Conversation

@lihenggui

@lihenggui lihenggui commented Feb 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add .gitattributes to enforce LF line endings across all platforms
  • Fixes the issue where running spotlessApply on Windows produces hundreds of unrelated file modifications due to CRLF/LF mismatch

Test plan

  • Verify spotlessApply on Windows no longer produces mass line-ending changes
  • Run git add --renormalize . after merging to normalize existing checkouts

@lihenggui lihenggui merged commit 72aa2b1 into main Feb 11, 2026
@lihenggui lihenggui deleted the chore/add-gitattributes branch February 11, 2026 18:11
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