Commit 14cd7fc
fix: propagate real error when machineBash fails in createWorktree
createWorktree unconditionally reported "Not a Git repository" for any
machineBash failure, hiding RPC errors and network issues. Now checks
exitCode === -1 (RPC/communication failure) and forwards the real error.
Fixes #1110
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent ea41c4c commit 14cd7fc
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
0 commit comments