Skip to content

Conversation

@Zachary-Squires
Copy link
Contributor

Description

When developing for OED on a Windows machine a common problem is either the IDE or Github itself converting the line endings from LF to CRLF, which then needs to be reverted. I've added a line "* text=auto eol=lf" to the .gitattributes file which will enforce LF line endings on all text files.

Developed and implemented by:
Zachary Squires - https://github.com/Zachary-Squires

Fixes #1555

Type of change

  • Note merging this changes the database configuration.
  • This change requires a documentation update

Checklist

  • I have followed the OED pull request ideas
  • I have removed text in ( ) from the issue request
  • You acknowledge that every person contributing to this work has signed the OED Contributing License Agreement and each author is listed in the Description section.

Limitations

N/A

Copy link
Member

@huss huss left a comment

Choose a reason for hiding this comment

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

Thanks to @Zachary-Squires for this contribution. It follows what is suggested to fix this and looks fine. I cannot easily test as I don't have this setup but I know you did so I assume it works correctly. It should not cause any issues so seems safe to merge. Congratulations on another accepted contribution.

@huss huss merged commit a61cbdb into OpenEnergyDashboard:development Nov 19, 2025
3 checks passed
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.

Enforce the Correct End of Line Sequence

2 participants