Skip to content

Add eol=lf to .gitattributes for Windows users#1491

Open
Alexx999 wants to merge 1 commit intopingdotgg:mainfrom
Alexx999:pr-windows-gitattributes
Open

Add eol=lf to .gitattributes for Windows users#1491
Alexx999 wants to merge 1 commit intopingdotgg:mainfrom
Alexx999:pr-windows-gitattributes

Conversation

@Alexx999
Copy link
Copy Markdown
Contributor

@Alexx999 Alexx999 commented Mar 28, 2026

What Changed

Added eol=lf to .gitattributes

Why

On Windows, the default is autocrlf=true which checks out files with eof=crlf which then creates problems for oxfmt which expects eof=lf

Checklist

  • This PR is small and focused
  • I explained what changed and why

Note

Low Risk
Low risk: repository metadata-only change that affects how files are checked out, not runtime behavior. Main risk is unexpected line-ending normalization in existing working trees.

Overview
Adds a new .gitattributes to force LF line endings (* text=auto eol=lf) to prevent Windows autocrlf from checking out CRLF and breaking oxfmt.

Written by Cursor Bugbot for commit 31a4258. This will update automatically on new commits. Configure here.

Note

Add eol=lf to .gitattributes to enforce LF line endings for Windows users

Adds a .gitattributes file with text=auto eol=lf to ensure all text files use LF line endings regardless of the OS. This prevents CRLF line endings from being committed by Windows users.

Macroscope summarized 31a4258.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 28, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 5f451530-3955-4610-a51f-350f95158973

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@github-actions github-actions bot added size:XS 0-9 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant