Skip to content

Generated Java files are generated on Windows with LF, showing up in IDEs as modified #5849

@ahus1

Description

@ahus1

Describe the feature

When developing on Windows with its CRLF line endings, I noticed the following:

  • Git checks out the previously generated files with CRLF
  • The next generator run re-creates them with LF
  • Now the IDE shows a lot of changes

I'm suggesting to add a .gitattributes file to ensure that Git checks out the files with LF on Windows, and I will provide a PR

Contribution

@ahus1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions