Repository navigation
Commit 6904b56
committed
fix(server): let a branch checkout finish instead of killing it after 10 seconds
switchRef ran git checkout with a 10 second timeout. In a partial clone the checkout removes the old files and then downloads the target's blobs, so a slow download got killed after the work tree was emptied but before HEAD moved, leaving files missing on disk.
Fixes #303681 parent 8ab024f commit 6904b56
2 files changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4318 | 4318 | | |
4319 | 4319 | | |
4320 | 4320 | | |
| 4321 | + | |
| 4322 | + | |
| 4323 | + | |
| 4324 | + | |
| 4325 | + | |
| 4326 | + | |
| 4327 | + | |
| 4328 | + | |
| 4329 | + | |
| 4330 | + | |
| 4331 | + | |
| 4332 | + | |
| 4333 | + | |
| 4334 | + | |
| 4335 | + | |
| 4336 | + | |
| 4337 | + | |
| 4338 | + | |
| 4339 | + | |
| 4340 | + | |
| 4341 | + | |
| 4342 | + | |
| 4343 | + | |
| 4344 | + | |
| 4345 | + | |
| 4346 | + | |
| 4347 | + | |
| 4348 | + | |
| 4349 | + | |
| 4350 | + | |
| 4351 | + | |
| 4352 | + | |
| 4353 | + | |
4321 | 4354 | | |
4322 | 4355 | | |
4323 | 4356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4939 | 4939 | | |
4940 | 4940 | | |
4941 | 4941 | | |
4942 | | - | |
| 4942 | + | |
| 4943 | + | |
| 4944 | + | |
4943 | 4945 | | |
4944 | 4946 | | |
4945 | 4947 | | |
| |||
0 commit comments