Skip to content

PactNet.sln line endings are in illegal git state #549

@max-lancaster

Description

@max-lancaster

When interactively rebasing and editing a commit or checking out a new branch the PactNet.sln file line endings get modified which makes a lot of git functionality unusable. Issue is described in this stack overflow issue.

I have reproduced this on both Mac Os and Windows so it is not an OS specific defect.

To reproduce if you just clone the repo and do a git status you will see that PactNet.sln all line-endings have immediately changed. Potential solution is described in the accepted answer of the above referenced SO post.

Appears that the root cause may be that line endings were not renormalized (git add --renormalize .) when the .gitattributes file was added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions