uvicgse / project-virtual-team-1

4 stars 5 forks source link

Switching branches with uncommitted changes will freeze VisualGit #50

Open sterlinglaird opened 5 years ago

sterlinglaird commented 5 years ago

If you have committed changes, the program will freeze if you try to switch branches to a branch on a with a different base commit. This is likely because git won't allow you to switch branches in this case, but VisualGit doesn't know what to respond to this issue.

Steps to reproduce:

  1. Sign in
  2. Open a local repository
  3. Create a new branch
  4. Make changes to a file and commit it to the new branch
  5. Make new changes to a file and don't commit it (so that is shows up in the unstaged list)
  6. Attempt to checkout the previous branch

Actual Result: A progress spinner is displayed with the text "Loading Graph" forever.

Expected : The user should be notified why they cannot checkout a different branch and should be able to continue using VisualGit.

jtiz003 commented 5 years ago

Excellent find. Very good documentation