-
-
Notifications
You must be signed in to change notification settings - Fork 279
option to specify newline types #492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
@woile I'm good with it and think it might be helpful. What do you think? |
pan93412
added a commit
to pan93412/commitizen
that referenced
this issue
Mar 13, 2022
Follow the configuration of `core.eof` in Git. Close commitizen-tools#492
pan93412
added a commit
to pan93412/commitizen
that referenced
this issue
Mar 13, 2022
Determine the newline character to write with `git config core.eof`. Close commitizen-tools#492
I'm also good with it as an option in the configuration |
4 tasks
pan93412
added a commit
to pan93412/commitizen
that referenced
this issue
Aug 10, 2022
Determine the newline character to write with `git config core.eof`. Close commitizen-tools#492
pan93412
added a commit
to pan93412/commitizen
that referenced
this issue
Aug 10, 2022
Determine the newline character to write with `git config core.eof`. Close commitizen-tools#492
pan93412
added a commit
to pan93412/commitizen
that referenced
this issue
Aug 10, 2022
Determine the newline character to write with `git config core.eof`. Close commitizen-tools#492
pan93412
added a commit
to pan93412/commitizen
that referenced
this issue
Aug 10, 2022
Determine the newline character to write with `git config core.eof`. Close commitizen-tools#492
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
I have pre-commit hooks to enforce LF line endings, this fails on every commitizen commit as it writes CRLF on windows. An option to configure this would be good.
Possible Solution
Hacky, but I have customized my local commitizen and found all instances of
open
and addednewline='\n'
to them if they arew
opens. And option in the .cz.yaml to specify this would be the optimal method.Additional context
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: