Repository navigation
Commit e7ac6bf
fix(server): generated worktree folders are valid on Windows
Git accepts branch names such as `fix/a|b`, `con` and `aux.c`, but the
generated worktree folder reused them as-is, which Windows cannot create.
Replace `<>"|` and Windows device-name stems in the generated folder, and
add the branch digest whenever anything changed so distinct branches keep
distinct folders.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 1d626d0 commit e7ac6bf
2 files changed
Lines changed: 19 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4230 | 4230 | | |
4231 | 4231 | | |
4232 | 4232 | | |
4233 | | - | |
| 4233 | + | |
4234 | 4234 | | |
4235 | 4235 | | |
4236 | 4236 | | |
4237 | 4237 | | |
4238 | 4238 | | |
4239 | 4239 | | |
4240 | 4240 | | |
| 4241 | + | |
4241 | 4242 | | |
| 4243 | + | |
4242 | 4244 | | |
4243 | 4245 | | |
4244 | 4246 | | |
4245 | 4247 | | |
4246 | 4248 | | |
4247 | | - | |
4248 | 4249 | | |
| 4250 | + | |
| 4251 | + | |
| 4252 | + | |
| 4253 | + | |
| 4254 | + | |
| 4255 | + | |
| 4256 | + | |
4249 | 4257 | | |
4250 | 4258 | | |
4251 | 4259 | | |
| |||
4254 | 4262 | | |
4255 | 4263 | | |
4256 | 4264 | | |
4257 | | - | |
| 4265 | + | |
| 4266 | + | |
4258 | 4267 | | |
4259 | 4268 | | |
4260 | 4269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4124 | 4124 | | |
4125 | 4125 | | |
4126 | 4126 | | |
| 4127 | + | |
| 4128 | + | |
| 4129 | + | |
| 4130 | + | |
4127 | 4131 | | |
4128 | | - | |
| 4132 | + | |
| 4133 | + | |
4129 | 4134 | | |
4130 | 4135 | | |
4131 | 4136 | | |
4132 | 4137 | | |
4133 | | - | |
| 4138 | + | |
4134 | 4139 | | |
4135 | 4140 | | |
4136 | 4141 | | |
| |||
0 commit comments