singularity-forge/src
Jean-Dominique Stepek 71cf0eef3b fix: git commands fail when repo path contains spaces (#561)
* 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
2026-03-15 19:35:50 -06:00
..
resources fix: git commands fail when repo path contains spaces (#561) 2026-03-15 19:35:50 -06:00
tests fix: guard against newer synced resources (#445) 2026-03-14 22:58:18 -06:00
app-paths.ts Initial commit 2026-03-10 22:28:37 -06:00
bundled-extension-paths.ts Fix packaging verification and path portability (#378) 2026-03-14 12:28:14 -06:00
cli.ts Merge pull request #482 from fluxlabs/fix/tui-resource-leaks-and-quality 2026-03-15 17:32:31 -06:00
loader.ts Perf/gsd startup speed (#497) 2026-03-15 13:33:43 -06:00
logo.ts fix: abort squash-merge on conflict and stop auto-mode instead of looping (#merge-bug-fix) 2026-03-12 15:32:39 -06:00
onboarding.ts feat: add Ollama Cloud as model and web tool provider (#430) (#434) 2026-03-14 21:03:31 -06:00
pi-migration.ts Merge pull request #151 from dbachelder/fix/pi-provider-reuse-and-extension-loading 2026-03-12 22:25:15 -06:00
resource-loader.ts fix: auto-mode worktree path and resource sync bugs (#557) 2026-03-15 18:26:55 -06:00
tool-bootstrap.ts fix: bootstrap managed tools and gh auth 2026-03-11 10:52:45 -06:00
update-check.ts refactor: replace hardcoded ANSI escapes with chalk, add debug logging 2026-03-15 09:56:41 -05:00
update-cmd.ts feat: add gsd update subcommand for self-update 2026-03-13 18:47:33 -03:00
wizard.ts feat: add Ollama Cloud as model and web tool provider (#430) (#434) 2026-03-14 21:03:31 -06:00