Skip to content

Renormalize line endings for files with CRLF matching .gitattributes patterns - #138

Merged
paolosalvatori merged 1 commit into
mainfrom
renormalize-line-endings
Oct 19, 2026
Merged

paolosalvatori merged 1 commit into
mainfrom
renormalize-line-endings

Conversation

@purcell

@purcell purcell commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Motivation

A fresh checkout of this repo on a non-Windows machine immediately shows several files modified, apparently because they were added with CRLF line endings before the corresponding .gitattributes rules were added: the fix is to git add --renormalize those files.

Changes

git add --renormalize .

No further changes were made.

Tests

Related

@paolosalvatori paolosalvatori left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @purcell, I use Visual Studio Code from WSL, and I think also @DrisDary and @bryansan-local. Nonetheless, apparently, some files contain CRLF instead of LF 🙂

@paolosalvatori
paolosalvatori merged commit e17ee8c into main Oct 19, 2026
14 checks passed
@purcell
purcell deleted the renormalize-line-endings branch October 19, 2026 16:01

This branch was successfully deployed

1 active deployment
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