Skip to content

Add mixed-line-ending hook#233

Merged
asottile merged 3 commits intomasterfrom
mixed-line-ending
Sep 8, 2017
Merged

Add mixed-line-ending hook#233
asottile merged 3 commits intomasterfrom
mixed-line-ending

Conversation

@asottile
Copy link
Copy Markdown
Member

@asottile asottile commented Sep 6, 2017

@nagromc - I squashed your commits, fixed the tests on windows, and applied my review feedback -- I managed to reimplement it in a (imo) much simpler way too!

This supersedes #218 and resolves #196

@asottile asottile merged commit 36af62c into master Sep 8, 2017
@asottile asottile deleted the mixed-line-ending branch September 8, 2017 02:51
Copy link
Copy Markdown

@sjswerdloff sjswerdloff left a comment

Choose a reason for hiding this comment

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

Good idea.
Does this work when an entire file uses ?

@asottile
Copy link
Copy Markdown
Member Author

you can easily find the answer by simply trying it out!

@pre-commit pre-commit locked as off-topic and limited conversation to collaborators Dec 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Detect mixed line endings

3 participants