Commit 8734bf6
fix(wip): use target workspace branch when restoring cross-workspace
When restoring a WIP to a different workspace than it was saved from,
use that workspace's own branch instead of the original saved branch.
Prevents "branch already exists" errors on cross-workspace restore.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c1eb24f commit 8734bf6
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2818 | 2818 | | |
2819 | 2819 | | |
2820 | 2820 | | |
2821 | | - | |
| 2821 | + | |
| 2822 | + | |
2822 | 2823 | | |
2823 | | - | |
2824 | | - | |
2825 | | - | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
| 2827 | + | |
| 2828 | + | |
| 2829 | + | |
| 2830 | + | |
2826 | 2831 | | |
2827 | 2832 | | |
2828 | 2833 | | |
| |||
0 commit comments