Fixes #8214 by removing the '--staged' flag from the undo git restore command. This ensures that while the working tree is reverted to the snapshot state, the user's staged changes (index) are preserved, preventing data loss. Also adds a regression test. |
||
|---|---|---|
| .. | ||
| apply.rs | ||
| branch.rs | ||
| errors.rs | ||
| ghost_commits.rs | ||
| lib.rs | ||
| operations.rs | ||
| platform.rs | ||