Skip to content

Show trailing newline differences #353

Open
@simon-abbott

Description

@simon-abbott

Feature Request

I was looking at the [0.71.4 -> 0.72.0-rc.0] upgrade guide and I noticed several changes (notably .watchmanconfig) that seem to be identical. I suspect that these changes are due to trailing newline changes, but the diff display doesn't show that. It would be nice if it showed both a) that there is a newline difference, and b) what that difference is (added, removed, etc).

Why it is needed

Not being able to easily tell exactly what changed makes using the helper a bit more cognitively difficult than it needs to be.

Possible implementation

Not sure, but I know it's possible since git diff does it.

Code sample

I don't know.

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