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

Diff panel is blank when staging only part of a file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 1.8.2.3
    • 1.8.1, 1.8.2
    • None

      How to reproduce:

      1. Modify a file by adding two lines (line A, line B)
      2. Stage single line only (e.g. line A)
      (By now the modified file is still selected in unstaged panel, diff showing remaining changes available to be staged)
      3. Select the same file in staged by clicking it
      (Diff panel is blank, it should show line A as staged change instead)

      When i click the staged file again second time, line A diff now displays correctly.
      Then, when i click to select the unstaged file again, the diff view for line B is blank again

      This happens to hunks too.

              mcorsaro Mike Corsaro (Inactive)
              3c02a7b9084a hao_21291
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: