Discard Hunk/Discard Selected Lines changes CRLF to LF

XMLWordPrintable

    • Type: Bug
    • Resolution: Obsolete
    • Priority: Low
    • None
    • Affects Version/s: 1.5.1
    • Component/s: Git
    • None
    • Environment:

      Windows 7 64bit Professional

      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:
            Steve Streeting (Inactive)
            Reporter:
            Todd Klasik
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: