Commit 8a10698
committed
ci(checkout-eyrie): use full clone for pinned submodule commits
A depth-1 clone cannot check out a pinned commit if the dependency
repo's main has been rewritten past it (e.g. via squash-merge), and
fails with 'fatal: unable to read tree'. The previous workaround
was to manually bump each submodule pointer in hawk whenever a
squash-merge rewrote a dependency's history. Switching to a full
clone for the pinned-commit path makes the checkout deterministic
without any manual maintenance.
The unpinned-ref path still uses --depth=1 for speed.1 parent 23d2ec2 commit 8a10698
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
0 commit comments