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

Discard Hunk/Discard Selected Lines changes CRLF to LF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Low Low
    • None
    • 1.5.1
    • Git
    • None
    • 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.

              sstreeting Steve Streeting (Inactive)
              0207f93e92a3 Todd Klasik
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: