Discard Changes fails for a new empty repository (Gitg version: 41)
- Create a new empty repository
- Add a text file
- Open Gitg and select the commit view
- Stage the file
- Modify the file using right click "Edit File"
- Change to history view and back to commit view to see the changes
- The file appears in both Unstaged and Staged as expected
- Right click the Unstaged file and choose "Discard changes"
- Confirm Two issues:
- An error message appears: "Failed to discard changes refs/heads/master not found"
- The Close button appears with an underscore "_Close"
Edited by Sava Hmelnitski