Yamazaki93 / MetroGit

A git visualization tool that's more than just git
MIT License
162 stars 28 forks source link

Discard All Changes Doesn't Discard Added Files #18

Closed Yamazaki93 closed 6 years ago

Yamazaki93 commented 6 years ago

Describe the bug The discard all changes button doesn't get rid of added files

To Reproduce Steps to reproduce the behavior:

  1. Open a repo, add a random file
  2. Click the uncommitted changes in map, opens up the detail panel, click "Discard All Changes"
  3. Deleted/Modified changes are discarded, but added files remains

Expected behavior All changes should be discarded