Skip to content

Enforce LF line endings in .gitattributes - #150

Merged
sappelhoff merged 1 commit into
bids-standard:mainfrom
sappelhoff:gitattributes-eol-lf
Oct 14, 2026
Merged

sappelhoff merged 1 commit into
bids-standard:mainfrom
sappelhoff:gitattributes-eol-lf

Conversation

@sappelhoff

Copy link
Copy Markdown
Member

Set eol=lf alongside * text=auto in .gitattributes so text files are checked out with LF line endings on Windows even when core.autocrlf=true.

`* text=auto` alone normalizes line endings to LF in the object store
but still checks out text files with CRLF in the working tree on
Windows when `core.autocrlf=true`. Adding `eol=lf` keeps working-tree
line endings consistent across platforms.
@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.31%. Comparing base (02bf75a) to head (120d008).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #150   +/-   ##
=======================================
  Coverage   99.31%   99.31%           
=======================================
  Files           2        2           
  Lines         294      294           
=======================================
  Hits          292      292           
  Misses          2        2           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sappelhoff
sappelhoff merged commit 3984d04 into bids-standard:main Oct 14, 2026
13 checks passed
@sappelhoff
sappelhoff deleted the gitattributes-eol-lf branch October 14, 2026 12:20
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