The 'Discard' button works incorrectly during partial file staging. If you stage some changes and then click 'Discard' for the remaining ones, all changes in the file are reset, including the staged ones. Expected behavior: 'Discard' should only remove unstaged changes
The 'Discard' button works incorrectly during partial file staging. If you stage some changes and then click 'Discard' for the remaining ones, all changes in the file are reset, including the staged ones. Expected behavior: 'Discard' should only remove unstaged changes