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

Discard Changes window staging/unstaging is weird and inconsistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 1.8.3
    • Git, UX
    • Severity 3 - Minor

      The Discard Changes window appears to allow some form of staging/unstaging of changes. It's inconsistent in that while it allows you to stage/unstage hunks:

      .. it doesn't allow you to stage/unstage individual files, but does allow you to stage/unstage all files (note the disabled checkbox for the file but enabled checkbox for "Unstaged files"):

      Clicking the "Unstaged Files" checkbox will stage all of the files and then close the Discard Changes window. Staging changes doesn't actually show them in the "staged files" section either.

      Additionally, there is an unlabelled checkbox above the list of staged files next to the sorting options:

      I find it weird that the Discard Changes window allows staging/unstaging in the first place. Since changes can be discarded individually from the File Status view anyway, it would make more sense if the Discard button merely offered the Reset All operation.

              Unassigned Unassigned
              6b966b0a-1bd6-428d-84be-da9ee50b3f32 Deleted Account (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: