Wrong line ending normalization under Windows due to typo in .gitattributes
lacyyy opened this issue · 1 comments
lacyyy commented
Typo in https://github.com/mosra/magnum/blob/master/package/msys/.gitattributes
magnum/PKGBUILD text eof=lf
PKGBUILD text eof=lf
There's no eof
attribute, only the eol
attribute, hence it should be:
magnum/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-plugins/blob/master/package/msys/.gitattributes where I'll open an issue as well.