Skip to content

Add "preserve" option to line_endings setting.#188

Merged
dwash96 merged 1 commit intocecli-dev:v0.88.29from
pjcreath:preserve-line-endings
Nov 24, 2025
Merged

Add "preserve" option to line_endings setting.#188
dwash96 merged 1 commit intocecli-dev:v0.88.29from
pjcreath:preserve-line-endings

Conversation

@pjcreath
Copy link
Copy Markdown

Certain large repos that shall go unnamed contain mixed line-endings, so no existing setting will reliably prevent rewrites across the repo.

This PR adds an option to detect an individual file's newline before modifying it, and then uses that newline.

@dwash96
Copy link
Copy Markdown
Collaborator

dwash96 commented Nov 24, 2025

Nice, I am linux-pilled in every codebase I work in so I'll merge this in tonight's version. Thanks!

@dwash96 dwash96 changed the base branch from main to v0.88.29 November 24, 2025 23:39
@dwash96 dwash96 merged commit da66e8e into cecli-dev:v0.88.29 Nov 24, 2025
@dwash96 dwash96 mentioned this pull request Nov 24, 2025
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