Skip to content

Line ending inconsistencies in cpp/arduino/avr/ files #283

Closed
@jgfoster

Description

@jgfoster

On a fresh checkout on a new machine I get 266 files shown as modified. Further investigation shows that io+.h files have \r in them. I note that .gitattributes has * text eol=lf in it with a comment suggesting that this should make things consistent, but it doesn't.

Perhaps these files got copied/generated initially in a Windows format and were never fixed? In any case, following the instructions here seems to have fixed it. I'm not enough of an expert in Git line endings to know if this is the right solution, but I'll offer a PR for discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions