Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-5867

Discard Hunk/Discard Selected Lines changes CRLF to LF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • 3.4.20
    • 1.8.3
    • Git
    • None
    • 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.

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

                Created:
                Updated:
                Resolved: