Skip to content

diff reports CRLF-only differences as 'no changes' instead of skipping them #11

Open

Description

@sujal-maheshwari2004

On Windows with core.autocrlf, a prompt that differs from the ref only in line endings is printed with no changes instead of being skipped. The byte comparison happens before splitLines, which normalises line endings. Compare after normalising.

Found while fixing the issues from the docs verification.

Activity

  1. sujal-maheshwari2004 commented on Nov 15, 2026

    @sujal-maheshwari2004
    MemberAuthor

    Reopening: the fix from #12 was reverted in #33 because it was merged without maintainer review. It will come back through a reviewed pull request; @montionugera has been asked to reopen it (see #12).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions