Commit 2190638
Refactor worktree helper flows (#540)
## Summary
- refactor internal/worktree helper flows around smaller git and
submodule operations
- clean up worktree tests to use direct testify assertions and stronger
helper coverage
- preserve nested local submodule initialization by restoring the
two-pass protocol detection
## Validation
- go fmt ./...
- go test ./...
- go vet ./...
- go test -tags=integration ./internal/worktree/...
---------
Co-authored-by: Wes McKinney <wesmckinn+git@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a85cf9e commit 2190638
6 files changed
Lines changed: 638 additions & 273 deletions
File tree
- internal/worktree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments