Skip to content

Files created on Windows should not use CRLF #405

@pombredanne

Description

@pombredanne

When running cookiecutter on Windows the output is different from running it on posix.
In particular even though templates use LF line endings, the results is files with CRLF line endings.
CRLF is bad in general in my book, but here converting to CRLF is not so nice.
Since Jinja uses LF by default, I wonder if this is not because Git would be trying to convert things, though my Git settings on Windows are set to make no conversions at all

Metadata

Metadata

Assignees

Labels

bugThis issue/PR relates to a bug.featureThis issue/PR relates to major feature request.windowsThis issue/PR related to windows systems only

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions