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.
- duplicates
-
SRCTREEWIN-2377 Windows Linebreaks are replaced with Unix breaks on "Discard Hunk" click
- Closed
- is cloned from
-
SRCTREEWIN-1635 Discard Hunk/Discard Selected Lines changes CRLF to LF
- Closed
- relates to
-
SRCTREEWIN-1859 Undesired conversion of line endings of whole file when discarding selected lines (CR-LF to LF)
- Closed