Skip to content

Mac style line endings present #3

@ghost

Description

pom.xml contains Mac-style line endings (i.e. CR, aka '\r' or '^M'). These pollute the output of git diff, which expects UNIX-style line endings (i.e. LF, aka '\n'):

$ wc -l pom.xml 
124 pom.xml
$ grep '\r' pom.xml | wc -l
68
$ grep '\n' pom.xml | wc -l
69
$ grep '\n\r' pom.xml | wc -l
0
$ grep '\r\n' pom.xml | wc -l
0

Looks like about 200 source code files have this issue:

$ grep -rl '\r' src | wc -l
202

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions