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

Using "no staging" view in Workspace, the diff view on the right is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 3.0.15
    • Git
    • Windows 10

    • Severity 2 - Major

      Repro steps:

      1. Go to working copy
      2. Choose "Pending files" in the dropdown
      3. In the dropdown next to it, with three lines, choose "no staging"
      4. Select a file with several lines of changes
      5. Click on one of the lines in the diff view
      6. Click "Stage lines"
      7. Notice the file now appears twice in the file list
      8. Select these one at a time and notice what is displayed in the diff view

      Expected result:

      The diff view should only show the staged or unstaged changes, depending on which file is chosen. This should work the same as when in "Split view staging" and switching between the file in the "staged" and in the "unstaged" sections.

      Actual result:

      The diff view shows all the changes, staged and unstaged combined, regardless of which is chosen.

       

        1. NoStagingPartialStagingBug2.gif
          NoStagingPartialStagingBug2.gif
          9.80 MB
        2. MB6-895-dumps.pdf
          407 kB

              Unassigned Unassigned
              svend.hansen Svend Hansen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: