Commit ca7a3b7
committed
cmd/git(fix[Git.run]): Iterate -C paths instead of appending list
why: The -C flag was appending a list object as the second element,
creating invalid argv like ["git", "-C", ["path1", "path2"]] which
subprocess cannot handle. Git requires separate -C flags for each path.
what:
- Iterate over normalized C list and append -C for each path1 parent 79a5fe8 commit ca7a3b7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
| 239 | + | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
0 commit comments