Discard Hunk/Discard Selected Lines changes CRLF to LF

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • 3.4.20
    • Affects Version/s: 1.8.3
    • Component/s: Git
    • None
    • Environment:

      Windows 7 64bit Professional

    • Severity 3 - Minor

      Steps to reproduce:

      • Commit file that has line endings as CRLF
      • Change any line in committed file
      • Discard Hunk or selected lines of the change.
      • Check for uncommitted changes (ensure ignore whitespace is off)
        Expected result: No changes detected in file
        Actual result: line endings for entire file have changed to LF only.

      This behavior is not exhibited when discarding the entire file.

              Assignee:
              Mukesh Kumar (Inactive)
              Reporter:
              Ruben Van Boxem
              Votes:
              8 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: