Skip to content

Fix problem with line endings not being normalised when cloning a fresh copy of JUNG #240

@jbduncan

Description

@jbduncan

In #236, @wumpz reported a problem where, if I understand correctly, Spotless and Git don't agree on what sort of line endings they should both use; Git thinks it should use auto line endings, according to our .gitattributes, but Spotless seems to think otherwise?

@wumpz Would you mind either confirming my understanding or clarifying what I've misunderstood?

Regardless, there are two possible solutions that come to mind:

  1. Upgrade Spotless to the latest version, in the hope that it recognises GIT_ATTRIBUTES by default.

  2. Tell both Git and Spotless to consistently use some sort of line ending, like Unix LF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions