* fix: use execFileSync for git commands to handle paths with spaces execSync builds a shell command string via string interpolation, so any path containing spaces (e.g. 'Current Projects/my-repo') gets word-split by the shell into multiple arguments. This caused 'git worktree add' to fail with a usage error whenever the repo was in a directory with spaces. Switch all three git runner functions to execFileSync, which takes args as an array and bypasses the shell entirely. Paths are passed as discrete arguments and never subject to word-splitting or other shell expansions. Affected files: - worktree-manager.ts: runGit() - git-service.ts: runGit() - native-git-bridge.ts: gitExec() * fix: restore pre-merge check command execution |
||
|---|---|---|
| .. | ||
| resources | ||
| tests | ||
| app-paths.ts | ||
| bundled-extension-paths.ts | ||
| cli.ts | ||
| loader.ts | ||
| logo.ts | ||
| onboarding.ts | ||
| pi-migration.ts | ||
| resource-loader.ts | ||
| tool-bootstrap.ts | ||
| update-check.ts | ||
| update-cmd.ts | ||
| wizard.ts | ||