Skip to content

chore: Normalize line-endings with .gitattributes - #1071

Merged
cassidyjames merged 1 commit into
mainfrom
cassidyjames/line-endings
Aug 26, 2026
Merged

chore: Normalize line-endings with .gitattributes#1071
cassidyjames merged 1 commit into
mainfrom
cassidyjames/line-endings

Conversation

@cassidyjames

Copy link
Copy Markdown
Member

If someone uses Windows or has different defaults than Unix/Linux, we end up with mixed line-endings which causes issues with diffs (like in #1057). Git gives us a way to specify preferred line endings with .gitattributes, so let's do that and have Git automatically handle it for us.

This is the same as what we did in Osprey: roostorg/osprey#451

@cassidyjames
cassidyjames requested review from a team and julietshen as code owners August 26, 2026 21:33
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 53 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 51237e02-d6fa-4e7c-9b1e-c775bbd2b0e2

📥 Commits

Reviewing files that changed from the base of the PR and between 0f42288 and 9922290.

📒 Files selected for processing (1)
  • .gitattributes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@julietshen julietshen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

@cassidyjames
cassidyjames merged commit 85a5ffe into main Aug 26, 2026
17 checks passed
@cassidyjames
cassidyjames deleted the cassidyjames/line-endings branch August 26, 2026 21:36
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.

2 participants