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

Details

    Description

      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.

      Attachments

        Activity

          People

            mcorsaro Mike Corsaro
            3c02a7b9084a Kevin Law
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: