Repository navigation
Commit 15761f0
Initialize the new gem's git repo without a subshell
`bundle gem` ran `git init` through a backtick subshell with POSIX shell
quoting. On Windows the backtick invokes cmd.exe, which ignores the POSIX
escaping, so a target path containing spaces was split and the repo was
created in the wrong place. Spawn git directly with an argument array,
matching the `git add` call below.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent b07218d commit 15761f0
2 files changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
| 250 | + | |
252 | 251 | | |
253 | 252 | | |
254 | 253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | 91 | | |
94 | 92 | | |
95 | 93 | | |
| |||
0 commit comments