You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When discarding a submodule Desktop says it'll end up in Trash but it doesn't #10402
Verify that the submodule shows up as a modified entry
3. Attempt to discard
4. Note how the discard dialog says changes can be retrieved from Trash
5. Discard
Expected behavior
The changed files from the submodule gets moved to Trash
Actual behavior
The submodule changes get reset (after #8218 at least) bypassing the Trash.
Additional context
See #3728 which removed our naive implementation of submodule discarding which caused unexpected results. Let's not repeat that exact blunder but rather find a new and exciting mistake to make.
Activity
Drop the Trash note when discarding only submodules
Drop the Trash note when discarding only submodules
Drop the Trash note when discarding only submodules