When switching branches only show the discard local changes option when there are local changes.

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Not a bug
    • None
    • Component/s: General
    • None

      I often switch branches. When switching branches the dialog "Confirm Branch Switch - Are you sure you want to switch your working copy to the branch 'NAME'" appears. Below it is a "Discard local changes" option. This option appears regardless if there are local changes.

      This often confuses me. Most of the time there are no changes but I still want to check. This makes me dismiss the dialog, go to the changes screen, see that there are no changes and then I reopen the dialog to switch for real.

      Solution:
      Remove or disable the "Discard local changes" option in the dialog when there are no changes. Or show a message that there are no changes.

              Assignee:
              Unassigned
              Reporter:
              Malik Mangier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: