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
Address Copilot review feedback on stash/cherry-pick
- Stash now includes untracked files (git stash push -u) so an
untracked-only change doesn't silently no-op while the UI reports success.
- CherryPickConflictError carries an abortFailed flag and gives an accurate
message (rather than claiming a clean rollback) when `cherry-pick --abort`
itself fails.
- StashPanel: block Enter-to-create while a stash op is pending; disable
every stash row's actions while any stash mutation is in flight, not just
the one that was clicked (apply/pop/drop aren't safely concurrent since
they share the same working tree/index); show an explicit error state
instead of rendering "No stashes" when the list query fails.
The other flagged lines (packages/git/src/diff.ts, packages/git/src/staging.ts
trailing-trim) were already superseded by main's independent fix for the same
status-parsing bug, adopted during the merge — no longer applicable.
? `Cherry-pick of ${sha.slice(0,7)} stopped due to conflicts, and the automatic rollback failed. Run "git cherry-pick --abort" manually to restore a clean state.`
14
+
: `Cherry-pick of ${sha.slice(0,7)} stopped due to conflicts and was rolled back.`
0 commit comments