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

Stage Selected Lines does not handle CR-LF line endings correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Low Low
    • None
    • 0.9.1
    • None
    • None
    • Windows 7 64-bit

      When working with a repository with DOS (CR-LF) line endings, attempting to stage selected lines (added lines) within a hunk does not work. The added line(s) are added to the index with UNIX (LF) line endings, which then leaves an unstaged change in the hunk to replace the LF with CR-LF. Trying to subsequently stage this new change (or the entire hunk) does not work.

              sstreeting Steve Streeting (Inactive)
              3b2ea0249bcd Jason Thomas
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: