Skip to content

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

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions