Repository navigation
Commit aff29bd
fix(server): submodule init in new worktrees no longer times out after 30 s
`git submodule update --init` in createWorktree ran under the generic 30 s
Git timeout, so repositories with many or slow submodules had the clone
killed mid-way and ended up with empty submodule paths. It now gets the same
WORKTREE_ADD_TIMEOUT_MS bound as `git worktree add`, which also takes it out
of the shared Git process semaphore like the checkout. The bound stays finite
so unattended worktree setup cannot hang on a stalled clone.
Fixes #26390
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent bd9026d commit aff29bd
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3914 | 3914 | | |
3915 | 3915 | | |
3916 | 3916 | | |
3917 | | - | |
3918 | | - | |
3919 | | - | |
3920 | | - | |
3921 | | - | |
3922 | | - | |
| 3917 | + | |
| 3918 | + | |
| 3919 | + | |
| 3920 | + | |
| 3921 | + | |
| 3922 | + | |
| 3923 | + | |
| 3924 | + | |
| 3925 | + | |
3923 | 3926 | | |
3924 | 3927 | | |
3925 | 3928 | | |
| |||
0 commit comments