Commit 8d9f042
committed
fix(git): add missing refreshGitStatus to stashDrop and handle persistent dirty worktree errors
- Add refreshGitStatus(input.cwd) to the gitStashDrop WS handler so
clients see updated stash state after a drop, matching all other
git mutation handlers.
- Detect when stashAndCheckout fails because ignored files still
conflict (stash -u doesn't capture .gitignore'd files) and show
an actionable error instead of a confusing dirty-worktree message.1 parent c8b0687 commit 8d9f042
2 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
798 | 798 | | |
799 | 799 | | |
800 | 800 | | |
801 | | - | |
802 | | - | |
803 | | - | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
804 | 806 | | |
805 | 807 | | |
806 | 808 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
160 | 167 | | |
161 | 168 | | |
162 | 169 | | |
| |||
0 commit comments