Commit c8626b1
Speed up getDocs clones with shallow, single-branch fetch (#383)
getDocs.js only needs a snapshot of each upstream repo's docs, but it
did a full clone (entire history, all branches). Add --depth 1 so each
clone transfers only the latest commit of the default branch, cutting
fetch time and bandwidth noticeably for the larger source repositories.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Daniel Gerber <394442-gerbsen@users.noreply.gitlab.com>1 parent 7c475d6 commit c8626b1
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments