Skip to content
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

Wrong line ending normalization under Windows due to typo in .gitattributes #125

Closed
lacyyy opened this issue Jun 22, 2022 · 1 comment
Closed

Comments

@lacyyy
Copy link
Contributor

lacyyy commented Jun 22, 2022

Typo in https://github.com/mosra/magnum-plugins/blob/master/package/msys/.gitattributes

magnum-plugins/PKGBUILD text eof=lf
PKGBUILD text eof=lf

There's no eof attribute, only the eol attribute, hence it should be:

magnum-plugins/PKGBUILD text eol=lf
PKGBUILD text eol=lf

Because of this typo, Git on Windows wrongly normalizes the PKGBUILD files to CRLF line endings.

The same bug and typo is present in https://github.com/mosra/magnum/blob/master/package/msys/.gitattributes where I opened an issue as well.

@mosra mosra added this to the 2022.0a milestone Jun 23, 2022
@mosra
Copy link
Owner

mosra commented Jun 23, 2022

Commited as 9f55eb6, thanks!

@mosra mosra closed this as completed Jun 23, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants